Skip to content
Snippets Groups Projects
Commit d1941f13 authored by Elias Häußler's avatar Elias Häußler Committed by Benni Mack
Browse files

[BUGFIX] Assure a string is passed to `octdec` function

Since strict types were enabled for the GeneralUtility class, the
`GU::createDirectoryPath()` may throw an exception if
`$GLOBALS['TYPO3_CONF_VARS']['SYS']['folderCreateMask']` is not
set. This is due to the fact that the fallback value is an integer,
whereas the `octdec` function requires a string to be passed.

Resolves: #98602
Releases: main, 11.5
Change-Id: I710d28166e3d3d8e76e6125db53ea59e1b4ab26d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76069


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 7c82be9b
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