mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
revert : remove trim
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user