1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 15:57:45 +02:00

[ticket/217] Use positive parameter statement for bbcode_init()

PHPBB3-217
This commit is contained in:
rxu
2011-06-06 00:50:53 +08:00
parent 6585d938d2
commit d44b6ba5ca
2 changed files with 3 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ class bbcode_firstpass extends bbcode
/**
* Init bbcode data for later parsing
*/
function bbcode_init($no_custom_bbcode = false)
function bbcode_init($allow_custom_bbcode = true)
{
static $rowset;
@@ -135,7 +135,7 @@ class bbcode_firstpass extends bbcode
$this->parsed_items[$tag] = 0;
}
if ($no_custom_bbcode)
if (!$allow_custom_bbcode)
{
return;
}