From b4abef7f4dcf874c882146ac9a933bf2530c5c86 Mon Sep 17 00:00:00 2001 From: zero Date: Sat, 8 Dec 2007 14:03:16 +0000 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=ED=8C=B8=ED=95=84=ED=84=B0=EB=AA=A8?= =?UTF-8?q?=EB=93=88=EC=97=90=20=EC=95=84=EC=9D=B4=ED=94=BC=EB=82=98=20?= =?UTF-8?q?=EA=B8=88=EC=A7=80=EC=96=B4=EA=B0=80=20=EB=93=B1=EB=A1=9D?= =?UTF-8?q?=EB=90=98=EC=96=B4=20=EC=9E=88=EC=A7=80=20=EC=95=8A=EC=9D=84=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=20=EC=98=A4=EB=A5=98=EB=B0=9C=EC=83=9D?= =?UTF-8?q?=ED=95=98=EB=8A=94=20=EB=B6=80=EB=B6=84=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@3271 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/spamfilter/spamfilter.model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/spamfilter/spamfilter.model.php b/modules/spamfilter/spamfilter.model.php index b0f291eca..c1c9f7362 100644 --- a/modules/spamfilter/spamfilter.model.php +++ b/modules/spamfilter/spamfilter.model.php @@ -41,7 +41,7 @@ $ipaddress = $_SERVER['REMOTE_ADDR']; $ip_list = $this->getDeniedIPList(); - if(!count($ip_list)) return false; + if(!count($ip_list)) return new Object(); $count = count($ip_list); $patterns = array(); @@ -73,7 +73,7 @@ **/ function isDeniedWord($text) { $word_list = $this->getDeniedWordList(); - if(!count($word_list)) return false; + if(!count($word_list)) return new Object(); $count = count($word_list); for($i=0;$i<$count;$i++) {