diff --git a/common/framework/parsers/dbquery/variablebase.php b/common/framework/parsers/dbquery/variablebase.php index a46ae408b..438a29d25 100644 --- a/common/framework/parsers/dbquery/variablebase.php +++ b/common/framework/parsers/dbquery/variablebase.php @@ -460,9 +460,9 @@ class VariableBase if (substr($item, 0, 1) === '(' && substr($item, -1) === ')') { $item = trim(substr($item, 1, -1)); - if ( $item !== "" ) + if ($item !== '') { - $parsed_keywords = $this->_parseSearchKeywords($column, substr($item, 1, -1)); + $parsed_keywords = $this->_parseSearchKeywords($column, $item); $conditions[] = $parsed_keywords[0]; $conditions[] = 'AND'; $params = array_merge($params, $parsed_keywords[1]);