mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
Don't trim filter expressions
Leading and trailing whitespaces may be significant for comparison. refs #8777
This commit is contained in:
parent
6b63f3d8a2
commit
6e6aabedf2
@ -12,7 +12,6 @@ class FilterExpression extends Filter
|
||||
public function __construct($column, $sign, $expression)
|
||||
{
|
||||
$column = trim($column);
|
||||
$expression = is_array($expression) ? array_map('trim', $expression) : trim($expression);
|
||||
$this->column = $column;
|
||||
$this->sign = $sign;
|
||||
$this->expression = $expression;
|
||||
|
Loading…
x
Reference in New Issue
Block a user