* Finish task #7459.

This commit is contained in:
holan20180123
2020-07-21 10:08:56 +08:00
parent bb1d677e25
commit ee2165bf06
+1 -1
View File
@@ -106,8 +106,8 @@ class searchModel extends model
/* Skip empty values. */
if($this->post->$valueName == false) 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.
if(isset($fieldParams->$field) and $fieldParams->$field->control == 'select' and $this->post->$valueName == 'null') $this->post->$valueName = ''; // Null is special, stands to empty if control is select. Fix bug #3279.
$scoreNum += 1;