Skip to content
Snippets Groups Projects
Commit 18aaf13a authored by Daniel Siepmann's avatar Daniel Siepmann Committed by Georg Ringer
Browse files

[BUGFIX] Prevent undefined array key in UserIntInformation

Resolves: #100742
Releases: main, 11.5
Change-Id: Ibff1f2da48192a23d3fe6e5404c95f3b7e6c8ae8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78852


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 354693f9
Branches
Tags
No related merge requests found
...@@ -88,7 +88,7 @@ class UserIntInformation extends AbstractSubModule implements DataProviderInterf ...@@ -88,7 +88,7 @@ class UserIntInformation extends AbstractSubModule implements DataProviderInterf
foreach ($intScripts as $intScriptName => $intScriptConf) { foreach ($intScripts as $intScriptName => $intScriptConf) {
$info = isset($intScriptConf['type']) ? ['TYPE' => $intScriptConf['type']] : []; $info = isset($intScriptConf['type']) ? ['TYPE' => $intScriptConf['type']] : [];
foreach ($intScriptConf['conf'] as $key => $conf) { foreach (($intScriptConf['conf'] ?? []) as $key => $conf) {
if (is_array($conf)) { if (is_array($conf)) {
$conf = ArrayUtility::flatten($conf); $conf = ArrayUtility::flatten($conf);
} }
......
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