Skip to content

Commit

Permalink
🐛 Fix missing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Jun 17, 2021
1 parent 7a9b47d commit f714fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public function where(
} elseif ($operator === 'not ilike') {
$this->whereNotLike($key, $value, false, $boolean);
} else {
$where->push(($where->count() ? $boolean . ' ' : '') . $key . ' ' . $operator . ' ' . $value);
$where->push(($where->count() ? $boolean . ' ' : '') . $key . ' ' . $operator . ' "' . $value . '"');
$this->query->put('where', $where);
}
} else {
Expand Down

0 comments on commit f714fc7

Please sign in to comment.