Skip to content

Commit

Permalink
[TASK] CGL fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
derhansen committed Apr 21, 2024
1 parent e284b6f commit 71fa313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/User/DisplayCond/AllowHtmlBannerForNonAdmins.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ protected function getBackendUser(): BackendUserAuthentication
{
return $GLOBALS['BE_USER'];
}
}
}
4 changes: 2 additions & 2 deletions Classes/User/FormEngine/ItemsProcFunc.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getRestrictedBannerTypes(array &$config): void
if ((bool)$allowHtmlBannerForNonAdmins || $this->getBackendUser()->isAdmin()) {
$config['items'][] = [
$this->getLanguageService()->sL('LLL:EXT:sf_banners/Resources/Private/Language/locallang_db.xlf:tx_sfbanners_domain_model_banner.type.html'),
1
1,
];
}
}
Expand All @@ -44,4 +44,4 @@ protected function getBackendUser(): BackendUserAuthentication
{
return $GLOBALS['BE_USER'];
}
}
}

0 comments on commit 71fa313

Please sign in to comment.