Skip to content

Commit f714fc7

Browse files
committed
🐛 Fix missing quotes
1 parent 7a9b47d commit f714fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Builder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public function where(
276276
} elseif ($operator === 'not ilike') {
277277
$this->whereNotLike($key, $value, false, $boolean);
278278
} else {
279-
$where->push(($where->count() ? $boolean . ' ' : '') . $key . ' ' . $operator . ' ' . $value);
279+
$where->push(($where->count() ? $boolean . ' ' : '') . $key . ' ' . $operator . ' "' . $value . '"');
280280
$this->query->put('where', $where);
281281
}
282282
} else {

0 commit comments

Comments
 (0)