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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user