1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 16:26:59 +02:00
This commit is contained in:
Ryan Cramer
2023-08-22 09:49:16 -04:00
parent af80005a9c
commit 088cd57160

View File

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