diff --git a/src/Database/Query/FMBaseBuilder.php b/src/Database/Query/FMBaseBuilder.php index 6659cc4..b57a546 100644 --- a/src/Database/Query/FMBaseBuilder.php +++ b/src/Database/Query/FMBaseBuilder.php @@ -176,7 +176,7 @@ public function where($column, $operator = null, $value = null, $boolean = 'and' } // This is an "orWhere" type query, so add a find request and then work from there - if ($boolean === 'or' || ($shouldBeOmit && ! $this->isCurrentFindAnOmit())) { + if ($boolean === 'or' || ($shouldBeOmit !== $this->isCurrentFindAnOmit())) { $this->addFindRequest(); }