Skip to content

Commit

Permalink
[BUGFIX] non-admin: page module calcperm wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmschuler committed Sep 4, 2022
1 parent 68457df commit 5f55a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/Backend/PageLayoutController.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function showAction()
$this->view->assign('pageMessages', $this->getFlashMessageQueue('TVP')->getAllMessages());

$this->view->assign('calcPerms', $this->calcPerms);
$this->view->assign('basicEditRights', $this->hasBasicEditRights());
$this->view->assign('basicEditRights', $this->hasBasicEditRights(isset($this->pageInfo['uid']) ? 'pages' : null, isset($this->pageInfo['uid']) ? $this->pageInfo : null));
$this->view->assign('clipboard', $this->clipboard2fluid());


Expand Down

0 comments on commit 5f55a8e

Please sign in to comment.