Don't use empty because it tests for false, and 0 is false. Just check for empty string. Fixes #3732
parent
9606b1d855
commit
bc1214e8e5
|
@ -542,7 +542,7 @@ class FilterTerm {
|
||||||
case 'FilterServerId' :
|
case 'FilterServerId' :
|
||||||
case 'Group' :
|
case 'Group' :
|
||||||
case 'Notes' :
|
case 'Notes' :
|
||||||
if (empty($this->val) or $this->val === '')
|
if ($this->val === '')
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue