Update src/Appwrite/Utopia/Request/Filters/V12.php

This commit is contained in:
Matej Bačo
2022-01-07 09:46:28 +01:00
committed by GitHub
parent 41138b130f
commit ff09547ed7
+1 -1
View File
@@ -145,7 +145,7 @@ class V12 extends Filter
// Let's keep it at true and false string, but without "" around
// No action needed
} else {
$filterValue =\is_numeric($filterValue) ? $filterValue : '"' . $filterValue . '"';
$filterValue = \is_numeric($filterValue) ? $filterValue : '"' . $filterValue . '"';
}
$query = $attributeKey . '.' . $operators[$usedOperator] . '(' . $filterValue . ')';