monitoring: Clone the filter before modyfing it in the IdoQuery

This commit is contained in:
Eric Lippmann 2015-08-20 15:50:02 +02:00
parent e914b733cd
commit d8f866c2bc
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}