mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
monitoring: Clone the filter before modyfing it in the IdoQuery
fixes #9971
This commit is contained in:
parent
44271471e3
commit
90ef288362
@ -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