From 9e1a902ffb7edb6d17776d4bc928611d5597d72f Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 8 Jul 2013 06:15:54 +0000 Subject: [PATCH] * revert for search. --- 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 0f94dd5b7c..543898b13b 100644 --- a/module/search/model.php +++ b/module/search/model.php @@ -58,7 +58,7 @@ class searchModel extends model $valueName = "value$i"; /* Skip empty values. */ - if($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. */