[BUGFIX] Empty text with non-localizable label key
authorXavier Perseguers <xavier@typo3.org>
Fri, 28 Oct 2011 06:31:23 +0000 (08:31 +0200)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Fri, 28 Oct 2011 11:33:52 +0000 (13:33 +0200)
commit59888063ef9db775e1b49c9d114694db50ecc5ed
tree3551de58695b7fcec6353682ba1b24a043f90389
parent06bf6926df11581333646526f2b10656da6eaf96
[BUGFIX] Empty text with non-localizable label key

When method $GLOBALS['TSFE']->sL() is called with a non-localizable
label key (not starting with "LLL:"), an empty string is returned
instead of the label key itself.

This is a breaking change with previous versions of TYPO3.

Change-Id: I2847e51fd479d9636ac815c820b2e63cf449d6a7
Fixes: #31347
Releases: 4.6, 4.7
Reviewed-on: http://review.typo3.org/6364
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
tests/typo3/sysext/cms/tslib/class.tslib_feTest.php
typo3/sysext/cms/tslib/class.tslib_fe.php