mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR: Bugfix in previous commit (from r98660)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99127 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a7ede59221
commit
aea14859f9
@ -509,7 +509,7 @@ class LeftAndMain extends Controller {
|
||||
if($p = $this->currentPage()) $obj->markToExpose($p);
|
||||
|
||||
// NOTE: SiteTree/CMSMain coupling :-(
|
||||
SiteTree::prepopuplate_permission_cache('CanEditType', $obj->markedNodeIDs());
|
||||
SiteTree::prepopuplate_permission_cache('CanEditType', $obj->markedNodeIDs(), 'SiteTree::can_edit_multiple');
|
||||
|
||||
// getChildrenAsUL is a flexible and complex way of traversing the tree
|
||||
$titleEval = '
|
||||
|
Loading…
Reference in New Issue
Block a user