Skip to content

Commit

Permalink
copy Bugfix from here tractorcow-farm#793 to Version 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MLindenhofer committed Nov 14, 2023
1 parent 37656d2 commit 9ab08d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Extension/FluentExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,10 @@ public function augmentSQL(SQLSelect $query, DataQuery $dataQuery = null)
// Apply substitutions
$localisedPredicate = str_replace($conditionSearch, $conditionReplace, $predicate);

if (empty($localisedPredicate)) {
continue;
}

$where[$index] = [
$localisedPredicate => $parameters
];
Expand Down

0 comments on commit 9ab08d1

Please sign in to comment.