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)
|
public function addFilter(Filter $filter)
|
||||||
{
|
{
|
||||||
|
$filter = clone $filter;
|
||||||
$this->requireFilterColumns($filter);
|
$this->requireFilterColumns($filter);
|
||||||
return parent::addFilter($filter);
|
return parent::addFilter($filter);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue