Skip to content

Commit

Permalink
Merge pull request #93 from xprojects-de/dev
Browse files Browse the repository at this point in the history
bugfixes
  • Loading branch information
xprojects-de authored Aug 11, 2022
2 parents aeb7db5 + a630576 commit 15daac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/HooksListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function onGetPageLayout(PageModel $objPage, LayoutModel $objLayout, Page
$GLOBALS['TL_JAVASCRIPT'][] = 'bundles/alpdeskfrontendediting/js/alpdeskfrontendediting_fe.js|async';

if ($this->backendUser->hasAccess('page', 'modules')) {
$this->currentPageId = $objPage->id;
$this->currentPageId = (int)$objPage->id;
}

$this->pagemountAccess = Utils::hasPagemountAccess($objPage);
Expand Down

0 comments on commit 15daac4

Please sign in to comment.