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.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php
index c00f9bd207..c31b63a403 100644
--- a/phpBB/includes/bbcode.php
+++ b/phpBB/includes/bbcode.php
@@ -35,10 +35,19 @@ class bbcode
/**
* Constructor
- * Init bbcode cache entries if bitfield is specified
*/
function __construct($bitfield = '')
{
+ $this->bbcode_set_bitfield($bitfield);
+ }
+
+ /**
+ * Init bbcode cache entries if bitfield is specified
+ *
+ * @param string $bbcode_bitfield The bbcode bitfield
+ */
+ function bbcode_set_bitfield($bitfield = '')
+ {
if ($bitfield)
{
$this->bbcode_bitfield = $bitfield;