Commit c93a87cc authored by Kevin Ditscheid's avatar Kevin Ditscheid

[BUGFIX] Update the extConf check to check for array after unserializing

parent d1d1e9cc
......@@ -45,7 +45,7 @@ class ExtensionUtility {
$extConf = \unserialize(
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['lfeditor'], ['allowed_classes' => FALSE]
);
return $extConf ?? [];
return is_array($extConf) ? $extConf : [];
}
return $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['lfeditor'] ?? [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment