From 6b87a6edfa1d634509aa835c4e46ce0ab22b0555 Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Sat, 12 May 2012 16:08:10 +1000 Subject: [PATCH] MINOR: Updated getResponseNegotiator visibility to match changed parent API. --- 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 312db801..d945f798 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -88,7 +88,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr return parent::index($request); } - protected function getResponseNegotiator() { + public function getResponseNegotiator() { $negotiator = parent::getResponseNegotiator(); $controller = $this; $negotiator->setCallback('ListViewForm', function() use(&$controller) {