mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 16:26:59 +02:00
Fix issue processwire/processwire-issues#1802
This commit is contained in:
@@ -2138,6 +2138,7 @@ class PageFinder extends Wire {
|
||||
|
||||
} else if($operator === '!=' || $operator === '<>') {
|
||||
// not equals
|
||||
$whereType = 'AND';
|
||||
$zeroIsEmpty = $ft->isEmptyValue($field, "0");
|
||||
$zeroIsNotEmpty = !$zeroIsEmpty;
|
||||
$value = (string) $value;
|
||||
|
Reference in New Issue
Block a user