diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index 65b7e1f5..0519c2b0 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -515,7 +515,7 @@ class LeftAndMain extends Controller { if($p = $this->currentPage()) $obj->markToExpose($p); // NOTE: SiteTree/CMSMain coupling :-( - SiteTree::prepopuplate_permission_cache('edit', $obj->markedNodeIDs()); + SiteTree::prepopuplate_permission_cache('CanEditType', $obj->markedNodeIDs()); // getChildrenAsUL is a flexible and complex way of traversing the tree $titleEval = '