diff --git a/Classes/Controller/XlsimportController.php b/Classes/Controller/XlsimportController.php index c64119a..047e4d5 100644 --- a/Classes/Controller/XlsimportController.php +++ b/Classes/Controller/XlsimportController.php @@ -401,7 +401,7 @@ public function importAction( $inserts[$table][$update ? $import['uid'] : uniqid('NEW_', true)] = $insertArray; } - if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][self::class]['Hooks'])) { + if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][self::class]['Hooks'] ?? false)) { foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][self::class]['Hooks'] as $_classRef) { $hookObj = GeneralUtility::makeInstance($_classRef); if (method_exists($hookObj, 'manipulateRelations')) {