[BUGFIX] EmConfUtility accesses non-arrays 97/24097/2
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:39:12 +0000 (00:39 +0200)
commit06723a0dd8a966b650b578e5863c7e5dd0d8547d
treeb3064c3ac358cc18aed00478177d69410c5e30f9
parent219c381c6f45d2580d92d87139d12d7891de1fc9
[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/24097
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/extensionmanager/Classes/Utility/EmConfUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php