diff --git a/upload/config.php b/upload/config.php index 9e4a01a45..35571b489 100644 --- a/upload/config.php +++ b/upload/config.php @@ -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'; diff --git a/upload/includes/bbcode.php b/upload/includes/bbcode.php index 85a6b4fd9..8c26496d8 100644 --- a/upload/includes/bbcode.php +++ b/upload/includes/bbcode.php @@ -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