CMSMain->LinkWithSearch() visibility

Required for tree links retaining search state
This commit is contained in:
Ingo Schommer 2013-03-19 22:13:10 +01:00
parent c3b4d68664
commit 1f14654649

View File

@ -188,7 +188,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
}
}
protected function LinkWithSearch($link) {
public function LinkWithSearch($link) {
// Whitelist to avoid side effects
$params = array(
'q' => (array)$this->request->getVar('q'),