Merge pull request #1596 from pine3ree/patch-1

typo?
This commit is contained in:
Damian Mooyman 2016-09-05 10:19:22 +12:00 committed by GitHub
commit feb57d6b8d

View File

@ -178,7 +178,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
public function getResponseNegotiator() {
$negotiator = parent::getResponseNegotiator();
$controller = $this;
$negotiator->setCallback('ListViewForm', function() use(&$controller) {
$negotiator->setCallback('ListViewForm', function() use($controller) {
return $controller->ListViewForm()->forTemplate();
});
return $negotiator;