From 0ea9b0420c4979116faa40a442c80ea0ccfb138f Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 3 Jul 2013 03:35:02 +0000 Subject: [PATCH] * finish task #1463. --- 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 543898b13b..0f94dd5b7c 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 == false) continue; + if($this->post->$valueName == '') continue; if($this->post->$valueName == 'null') $this->post->$valueName = ''; // Null is special, stands to empty. /* Set and or. */