Don't use empty because it tests for false, and 0 is false. Just check for empty string. Fixes #3732

pull/3735/head
Isaac Connor 2023-06-27 10:44:25 -04:00
parent 9606b1d855
commit bc1214e8e5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }