[BUGFIX] Setting userFuncClassPrefix to empty string does not work
authorSusanne Moog <typo3@susannemoog.de>
Sun, 21 Aug 2011 09:40:29 +0000 (11:40 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 21 Aug 2011 15:47:32 +0000 (17:47 +0200)
commitf2c206000b0b6e0f11cebcb99561c5355a218530
tree0a5cdc36a64bbe57907053a3d5d824c0e01b8656
parent5ec3779c978899659694941d79492e536aba6159
[BUGFIX] Setting userFuncClassPrefix to empty string does not work

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.

Change-Id: Idbd8cf7a547d9549f1c31dadd731eda48f52fcec
Resolves: #29133
Releases: 4.6
Reviewed-on: http://review.typo3.org/4445
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_div.php
tests/t3lib/class.t3lib_divTest.php