[BUGFIX] EmConfUtility accesses non-arrays 57/23857/5
authorMarkus Klein <klein.t3@mfc-linz.at>
Mon, 16 Sep 2013 19:20:12 +0000 (21:20 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 26 Sep 2013 22:27:58 +0000 (00:27 +0200)
commit51b4cf6464a130bcacdd3c635cd2bdfcd252c37b
tree01d123a95dff4e78abd1ff95ddcab82c5ed26a07
parentf6a8c13d3f71be582147be19d105046fce1d82ad
[BUGFIX] EmConfUtility accesses non-arrays

Properly check for array-type before accessing
or counting the variable.

Resolves: #52045
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Id161fddadbbcadd462de36e8227278107f2e7a3a
Reviewed-on: https://review.typo3.org/23857
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/extensionmanager/Classes/Utility/EmConfUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php