Fix lowercase

This commit is contained in:
James Cole 2020-09-11 07:11:37 +02:00
parent c0af49f336
commit c2ff26b515
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -229,7 +229,7 @@ class OperatorQuerySearch implements SearchInterface
Log::debug(sprintf('Now handle %s', $class));
/** @var Field $searchNode */
// used to search for x:y
$operator = $searchNode->getValue();
$operator = strtolower($searchNode->getValue());
$value = $searchNode->getNode()->getValue();
// must be valid operator:
if (in_array($operator, $this->validOperators, true)) {