Skip to content
Snippets Groups Projects
Commit 09c88212 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

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

parent 34a7757b
No related branches found
No related tags found
1 merge request!13Feature upgrade to9 lts
......@@ -46,7 +46,7 @@ class ExtensionUtility {
$extConf = \unserialize(
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['sg_mail'], ['allowed_classes' => FALSE]
);
return $extConf ?? [];
return is_array($extConf) ? $extConf : [];
}
return $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['sg_mail'] ?? [];
......
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