Merge pull request #16 from torrentpier/hotfix/bbcode

Hotfix/bbcode
This commit is contained in:
Exile 2014-08-07 21:44:20 +04:00
commit 94c4d058a5
2 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
// Version info
$bb_cfg['tp_version'] = '2.0.9 (RC)';
$bb_cfg['tp_release_date'] = '07-08-2014';
$bb_cfg['tp_release_state'] = 'R594';
$bb_cfg['tp_release_state'] = 'R594b';
// Database
$charset = 'utf8';

View file

@ -623,9 +623,9 @@ class bbcode
static $spam_words = null;
static $spam_replace = ' СПАМ';
if (isset($text))
if (isset($this))
{
$found_spam =& $text->found_spam;
$found_spam =& $this->found_spam;
}
// set $spam_words and $spam_replace