From b0f0b23d7baa5ea2e8d419066d1d18c0f1435a9a Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Sun, 26 Apr 2009 15:49:01 +0000 Subject: [PATCH] =?UTF-8?q?fix=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=BA=D0=B8=20=D0=BA=D0=B0=D1=82=D0=B0=20=D1=82=D0=BE?= =?UTF-8?q?=D0=BF=D0=B8=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/actions/ActionTopic.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/actions/ActionTopic.class.php b/classes/actions/ActionTopic.class.php index d5c98192..f6b92556 100644 --- a/classes/actions/ActionTopic.class.php +++ b/classes/actions/ActionTopic.class.php @@ -389,7 +389,7 @@ class ActionTopic extends Action { $sTestShort=str_replace('[]',"\r\n",$sTestShort); $sTestShort=$this->Text_Parser($sTestShort); $sTestNew=$aMatch[1].' '.$aMatch[3]; - if (preg_match('/^\s*name\s*=\s*"(.+)"\s*$/Ui',$aMatch[2],$aMatchCut)) { + if (preg_match('/^\s*name\s*=\s*"(.+)"\s*\/?$/Ui',$aMatch[2],$aMatchCut)) { $oTopic->setCutText(trim($aMatchCut[1])); } } @@ -536,7 +536,7 @@ class ActionTopic extends Action { $sTestShort=str_replace('[]',"\r\n",$sTestShort); $sTestShort=$this->Text_Parser($sTestShort); $sTestNew=$aMatch[1].' '.$aMatch[3]; - if (preg_match('/^\s*name\s*=\s*"(.+)"\s*$/Ui',$aMatch[2],$aMatchCut)) { + if (preg_match('/^\s*name\s*=\s*"(.+)"\s*\/?$/Ui',$aMatch[2],$aMatchCut)) { $oTopic->setCutText(trim($aMatchCut[1])); } }