Skip to content

Commit da2b352

Browse files
committed
add custom version of invalidOperatorAndValue for better FM support
1 parent 00d5cab commit da2b352

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Database/Query/FMBaseBuilder.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,4 +1059,10 @@ public function resetFindRequestIndex()
10591059
{
10601060
$this->currentFindRequestIndex = -1;
10611061
}
1062+
1063+
protected function invalidOperatorAndValue($operator, $value)
1064+
{
1065+
return is_null($value) && in_array($operator, $this->operators) &&
1066+
! in_array($operator, ['=', '==', '!=', '']);
1067+
}
10621068
}

0 commit comments

Comments
 (0)