[BUGFIX] Avoid fatal for unserializable extension configuration 61/37761/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 15:57:03 +0000 (16:57 +0100)
commitdb8a3b115b610a9f519bb403af3160a8352c9259
treea9de750b7dc6578bbcef19416d35316de6ef4252
parent933e6e008af1b475994d4387e7dc075637bb9bcc
[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/37761
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/extensionmanager/Classes/Domain/Repository/ConfigurationItemRepository.php