From 729c3abd02fc564fb99be53ba5fba450a073197f Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 2 May 2004 13:06:57 +0000 Subject: fix some issues with oop, fixing small bugs and prepare the next steps... NOTE TO DEVS: have a look at adm/admin_board.php (new config layout) git-svn-id: file:///svn/phpbb/trunk@4883 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/bbcode.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'phpBB/includes/bbcode.php') diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index f2df2803b9..537199fb57 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -46,10 +46,8 @@ class bbcode return $message; } - if (empty($this->bbcode_cache)) - { - $this->bbcode_cache_init(); - } + // Init those added with a new bbcode_bitfield (already stored codes will not get parsed again) + $this->bbcode_cache_init(); $str = array('search' => array(), 'replace' => array()); $preg = array('search' => array(), 'replace' => array()); -- cgit v1.2.1