mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 20:34:25 +02:00
monitoring: Clone the filter before modyfing it in the IdoQuery
This commit is contained in:
parent
e914b733cd
commit
d8f866c2bc
@ -479,8 +479,12 @@ abstract class IdoQuery extends DbQuery
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function addFilter(Filter $filter)
|
||||
{
|
||||
$filter = clone $filter;
|
||||
$this->requireFilterColumns($filter);
|
||||
return parent::addFilter($filter);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user