diff --git a/ext_localconf.php b/ext_localconf.php index 761c30f5dac72724b1bf9d0a7f11b69e57d6cbbb..12384ac98d5107fdeb3c4c7a76a88e8e10afcc2f 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -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'][] =