From b73b5f6349ce886dd9ed0452b4049dfbdf846dbd Mon Sep 17 00:00:00 2001 From: Exile Date: Thu, 7 Aug 2014 21:40:43 +0400 Subject: [PATCH] Bbcode hotfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Откат из-за случайной ошибки в функции bbcode. --- upload/config.php | 2 +- upload/includes/bbcode.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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