From 7b59e5ca7af9289a1acf4bbc00dbfec3a4a61205 Mon Sep 17 00:00:00 2001 From: "shiyangyangwork@yahoo.cn" Date: Tue, 3 Jan 2012 01:29:24 +0000 Subject: [PATCH] * revert code for fixing the bug #638. --- module/search/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/search/model.php b/module/search/model.php index efbfead0cd..2fc84a48ec 100644 --- a/module/search/model.php +++ b/module/search/model.php @@ -40,7 +40,7 @@ class searchModel extends model $valueName = "value$i"; /* Skip empty vales. */ - if(($this->post->$valueName != 0 and $this->post->$valueName == false) or $this->post->$valueName == '') continue; + if($this->post->$valueName == false) continue; if($this->post->$valueName == 'null') $this->post->$valueName = ''; // Null is special, stands to empty. /* Set and or. */