[BUGFIX] Invalid argument supplied for foreach in ExtensionModelUtility 71/28671/4
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 23 Mar 2014 15:47:19 +0000 (16:47 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Mon, 24 Mar 2014 12:40:40 +0000 (13:40 +0100)
commit0681f84fc9ccc89a300e63c8b066012d9d1e9138
tree483177a6fcb069623b3bfd479ab3195170eed775
parentf6f96f7ca970b6e857bc109ae966c518216aac84
[BUGFIX] Invalid argument supplied for foreach in ExtensionModelUtility

Dependecies might be given as empty string, e.g.
array (
'depends' =>
array (
'typo3' => '4.5.0-6.2.99',
),
'conflicts' => '',
'suggests' =>
array (
),
),

This is how the kickstarter used to generate it.

Resolves: #57207
Releases: 6.2
Change-Id: I314249f8883ee82fdfa9ee81aca7a526716ccade
Reviewed-on: https://review.typo3.org/28671
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Ernesto Baschny
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/extensionmanager/Classes/Utility/ExtensionModelUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/ExtensionModelUtilityTest.php