There was an error while loading. Please reload this page.
1 parent cc536fd commit 81afcecCopy full SHA for 81afcec
src/Query.php
@@ -158,7 +158,7 @@ public function addOptions($options)
158
public function andFilterCompare($name, $value, $defaultOperator = '=')
159
{
160
$matches = [];
161
- if (preg_match('/^(<>|>=|>|<=|<|=)/', $value, $matches)) {
+ if (preg_match('/^(<>|>=|>|<=|<|=)/', (string)$value, $matches)) {
162
$op = $matches[1];
163
$value = substr($value, strlen($op));
164
} else {
0 commit comments