diff options
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r-- | phpBB/includes/bbcode.php | 6 |
1 files changed, 2 insertions, 4 deletions
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()); |