[BUGFIX] Avoid associative array to be used in LocalizationUtility 24/56024/2
authorOliver Hader <oliver@typo3.org>
Tue, 6 Mar 2018 15:17:46 +0000 (16:17 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 6 Mar 2018 19:10:54 +0000 (20:10 +0100)
commit60a68a50d797158f89cda5767fa9a869e1a5d24b
treee7db0d0f3f17b2dd29083b54fd1c1feb10ec5e56
parent7e00cefe044fdaabff479bf8fe4e7e768ba96792
[BUGFIX] Avoid associative array to be used in LocalizationUtility

On using associative array in LocalizationUtility which is e.g. used
by Fluid's TranslateViewHelper, the error Cannot unpack array with
string keys is thrown. The reason is that sprintf($value, ...$arguments)
cannot be used with $arguments being an associative array.

Resolves: #84149
Releases: master
Change-Id: Ifb60338bcf9095954969221cf08bd7e3d141ecc2
Reviewed-on: https://review.typo3.org/56024
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php
typo3/sysext/extensionmanager/Resources/Private/Partials/List/UnresolvedDependencies.html