Skip to content
Snippets Groups Projects
Commit 69274946 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[BUGFIX] Prevent PHP warning in menu data processors

Check if the decoded menu is iterable,
before passing it to "foreach".

Note: No early return is used, since
this would be a change in behaviour.

Resolves: #96563
Releases: main, 11.5
Change-Id: If291ace4f6fc9c897ecacc73a1e6cdd0c98617e9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73091


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 0b9d7915
Branches
Tags
No related merge requests found
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