Skip to content
Snippets Groups Projects
Commit ee7106d3 authored by Ere Maijala's avatar Ere Maijala Committed by Demian Katz
Browse files

Reset helpers array of Results object when cloned to avoid using old params in e.g. UrlQueryHelper.

parent b8dcb31c
No related merge requests found
......@@ -162,6 +162,7 @@ abstract class Results implements ServiceLocatorAwareInterface
if (is_object($this->params)) {
$this->params = clone($this->params);
}
$this->helpers = [];
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment