Skip to content
Snippets Groups Projects
Commit 10b2642d authored by Xavier Perseguers's avatar Xavier Perseguers Committed by Benni Mack
Browse files

[BUGFIX] Prevent possible PHP crash with empty systemLocale

When $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLocale'] is empty, a call
to setlocale() may lead to a PHP crash.

Resolves: #102343
Releases: main, 12.4
Change-Id: Icbb9d0118327c0303ae6d3fc98e1cbecfb704877
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81704


Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 6336c729
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