[BUGFIX] Fix inconsistencies in getTSConfig in BackenuserAuth 71/23071/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 10 Aug 2013 21:18:05 +0000 (23:18 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Thu, 15 Aug 2013 12:52:58 +0000 (14:52 +0200)
commitc7d04fbda9272f13b52fe57a2b39b8307ff14340
tree65c5aa4356f27dac6e2a11009fbbc392032a8de0
parent01ac0075f41251557b5ddb24388508a927555ef6
[BUGFIX] Fix inconsistencies in getTSConfig in BackenuserAuth

BackenuserAuthentication::getTSConfig() behaves
inconsistently when an object string is given with
multiple sections but no result in the actual TSConfig
of the user. Other than noted in the method declaration,
the method returns an empty array instead of an array
where the 'properties' key is null.

Additionally we fix a bug which caused wrong results
if "0" was used as a key in configuration and accessed
with something like "permissions.file.0"

Resolves: #51007
Releases: 6.0, 6.1, 6.2
Change-Id: I80fc7398c1955ff77d052377e3ba81bb8aea01cf
Reviewed-on: https://review.typo3.org/23080
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-on: https://review.typo3.org/23071
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php