* revert code for fixing the bug #638.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user