Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
dergel committed Feb 27, 2023
1 parent 71d8ee5 commit 804fd86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
rex_extension::register('PAGE_CHECKED', static function (rex_extension_point $ep) {
$page = rex_be_controller::getPageObject('yform');

if (!$page) {
return;
}

$subpages = $page->getSubpages();
if (isset($subpages['manager']) && rex::getUser()->isAdmin()) {
$manager = $subpages['manager'];
Expand Down

0 comments on commit 804fd86

Please sign in to comment.