aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/bbcode.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r--phpBB/includes/bbcode.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php
index 537199fb57..144dafbb30 100644
--- a/phpBB/includes/bbcode.php
+++ b/phpBB/includes/bbcode.php
@@ -40,15 +40,15 @@ class bbcode
if ($bbcode_bitfield !== FALSE)
{
$this->bbcode_bitfield = $bbcode_bitfield;
+ // Init those added with a new bbcode_bitfield (already stored codes will not get parsed again)
+ $this->bbcode_cache_init();
}
+
if (!$this->bbcode_bitfield)
{
return $message;
}
- // 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());