[BUGFIX] Return NULL instead of empty string in Localization::translate()
authordkd-egerer Sascha Egerer <sascha.egerer@dkd.de>
Fri, 13 Apr 2012 09:38:47 +0000 (11:38 +0200)
committerOliver Hader <oliver@typo3.org>
Fri, 20 Jul 2012 16:31:50 +0000 (18:31 +0200)
commitd0dd4f64564b7b5ef3eb62fc40755a457aa832c7
treecc390f16e70fbf5bea0f04a1496ae25a6e99af50
parentbc89d2b158fd8ac03321d22e87bcb0a0b55b7b52
[BUGFIX] Return NULL instead of empty string in Localization::translate()

Localization::translate() returns an empty string instead of NULL
if no translation string is found but arguments are given

Change-Id: Id21ca9bc59a59d6115dc70decf2294497d871a81
Fixes: #34874
Related: #34877
Releases: 6.0, 4.7, 1.4, 1.3
typo3/sysext/extbase/Classes/Utility/Localization.php
typo3/sysext/extbase/Tests/Unit/Utility/LocalizationTest.php