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. */