Skip to content
Snippets Groups Projects
Commit e199b82e authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Fix php8.1 error

parent 096ed63a
No related branches found
No related tags found
1 merge request!38Feature upgrade to typo3 11
......@@ -101,7 +101,7 @@ call_user_func(
['className' => \SGalinski\SgNews\Xclass\PageRenderer::class];
# Hook to add the "go to News Module Button
if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook'])) {
if (!isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook'])) {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook'] = [];
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook'][] =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment