From 1f14654649a414e22214456e88b7409c71980ed0 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 19 Mar 2013 22:13:10 +0100 Subject: [PATCH] CMSMain->LinkWithSearch() visibility Required for tree links retaining search state --- code/controllers/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'),