revert : remove trim

This commit is contained in:
aynsix
2020-04-22 16:58:23 +03:00
parent ada4702d92
commit 001e5af572

View File

@@ -1040,7 +1040,7 @@ class User_Query
$constraints[':' . $fieldName . $n ++] = $field;
}
$sql = ' AND (TRIM(' . $fieldName . ') ' . $operator . ' ' . implode(' OR TRIM(' . $fieldName . ') ' . $operator . ' ' , array_keys($constraints)) . ') ';
$sql = ' AND (' . $fieldName . ' ' . $operator . ' ' . implode(' OR ' . $fieldName . ' ' . $operator . ' ' , array_keys($constraints)) . ') ';
$this->sql_params = array_merge($this->sql_params, $constraints);