[BUGFIX] Tx_Extbase_Utility_Localization::translate() must return NULL for non-existi...
authorBastian Waidelich <bastian@typo3.org>
Fri, 9 Sep 2011 14:57:34 +0000 (16:57 +0200)
committerBastian Waidelich <bastian@typo3.org>
Fri, 9 Sep 2011 14:57:34 +0000 (16:57 +0200)
commit5ea54d6921c4c6f3f21707e6dc3795ca9e544a43
treed37676e8f9c70fba20584ef5c848fe801a98aec5
parent02755d2895997f9d7e503d80eb57d83ca101247b
[BUGFIX] Tx_Extbase_Utility_Localization::translate() must return NULL for non-existing keys

Apparently the behavior of t3lib_fe->sL() changed resulting in
Tx_Extbase_Utility_Localization::translate() returning FALSE if
the given locallang key does not exist.
The translation ViewHelper of Fluid however expects NULL to be
returned in that case.

Change-Id: Id816d2e9e586ceaf663c123018996e53103ee70b
typo3/sysext/extbase/Classes/Utility/Localization.php