diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index a0cf65f4..8efe5e6d 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -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'),