* finish task #2702.
This commit is contained in:
@@ -61,7 +61,7 @@ class searchModel extends model
|
||||
$valueName = "value$i";
|
||||
|
||||
/* Skip empty values. */
|
||||
if($this->post->$valueName == false) continue;
|
||||
if($this->post->$valueName == false and $this->post->$valueName !== '0') continue;
|
||||
if($this->post->$valueName == 'null') $this->post->$valueName = ''; // Null is special, stands to empty.
|
||||
if($this->post->$valueName == 'ZERO') $this->post->$valueName = 0; // ZERO is special, stands to 0.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user