[BUGFIX] Avoid fatal for unserializable extension configuration 59/37859/2
authorStephan Großberndt <stephan@grossberndt.de>
Wed, 11 Mar 2015 22:31:17 +0000 (23:31 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sun, 15 Mar 2015 16:04:36 +0000 (17:04 +0100)
commit78bf3311be487f7b42e827a7bc2ea041f1630ae0
treec019a911eb603c8834f75eb2f8a24e7393685c01
parent4aa2f0c3866346f7dd8ab1664da0f847b543fbe2
[BUGFIX] Avoid fatal for unserializable extension configuration

unserialize() might not return an array if something is wrong in an
extensions configuration. Avoid the fatal error in
ArrayUtility::flatten() by making sure it is an (empty) array.

Resolves: #65576
Releases: master, 6.2
Change-Id: I8ba5fe4dd32e3c43398ef646a6a89518537e10ba
Reviewed-on: http://review.typo3.org/37859
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/extensionmanager/Classes/Domain/Repository/ConfigurationItemRepository.php