1
0
Fork 0
mirror of synced 2024-05-15 10:12:40 +12:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 . ')';