Skip to content
Snippets Groups Projects
Commit b174ff05 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Oliver Bartsch
Browse files

[BUGFIX] Fix undefined array key warning in GroupResolver

Resolves: #95946
Releases: master
Change-Id: Ide10cf2722af3f7cc7b8e4e8830159f7de3510be
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72142


Tested-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 920e1ef4
Branches
Tags
No related merge requests found
......@@ -80,7 +80,7 @@ class GroupResolver
$validGroups = [];
foreach ($groupIds as $groupId) {
// Database did not find the record
if (!is_array($foundGroups[$groupId])) {
if (!is_array($foundGroups[$groupId] ?? null)) {
continue;
}
// Record was already processed, continue to avoid adding this group again
......
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