From 966e932ccdaedc285069284d8066d7226714286e Mon Sep 17 00:00:00 2001 From: zero Date: Sat, 8 Dec 2007 07:10:27 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B8=88=EC=A7=80=EB=8B=A8=EC=96=B4=20?= =?UTF-8?q?=EB=B9=84=EA=B5=90=EC=8B=9C=20eregi=EB=A5=BC=20=EC=9D=B4?= =?UTF-8?q?=EC=9A=A9=ED=95=98=EC=97=AC=20=EB=8C=80=EC=86=8C=EB=AC=B8?= =?UTF-8?q?=EC=9E=90=20=EA=B0=99=EC=9D=B4=20=EB=B9=84=EA=B5=90=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=8A=A4=ED=8C=B8=ED=95=84=ED=84=B0=20?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3269 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/spamfilter/spamfilter.model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spamfilter/spamfilter.model.php b/modules/spamfilter/spamfilter.model.php index 54b64136b..b0f291eca 100644 --- a/modules/spamfilter/spamfilter.model.php +++ b/modules/spamfilter/spamfilter.model.php @@ -78,7 +78,7 @@ $count = count($word_list); for($i=0;$i<$count;$i++) { $word = $word_list[$i]->word; - if(strpos($text, $word)!==false) return new Object(-1,sprintf(Context::getLang('msg_alert_denied_word'), $word)); + if(eregi($word, $text)!==false) return new Object(-1,sprintf(Context::getLang('msg_alert_denied_word'), $word)); } return new Object();