Skip to content
Snippets Groups Projects
Commit 8b3eb1ac authored by Nikita Hovratov's avatar Nikita Hovratov
Browse files

[BUGFIX] Prevent PHP 8.1 runtime deprecation notice in IconRegistry

IconRegistry->detectIconProvider() may receive a null value for
the $iconReference parameter. E.g. in
IconRegistry->registerModuleIcons(). Therefore, a cast to string is
needed for strtolower.

Resolves: #99152
Releases: main, 11.5
Change-Id: Ia45c8a52ff12fa4d988977e1265b204df8217d2b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76756


Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent 48538556
Branches
Tags
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