#29133Setting userFuncClassPrefix to empty string does not work
Description
Setting $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘userFuncClassPrefix’] to an empty string – to allow all prefixes – does not work as expected as the check in t3lib_div expects a valid string with length > 0. Adjust t3lib_div::hasValidClassPrefix to also allow empty prefix var.
How to test:
Set $GLOBALS[‘TYPO3_CONF_VARS’][‘FE’][‘userFuncClassPrefix’] to ‘‘
Run the unit tests for t3lib_div
See the test for hasValidClassPrefix fail
Apply the changes
Run the unit tests again