[BUGFIX] Wrong check for existance of translated label
authorSteffen Gebert <steffen.gebert@typo3.org>
Sun, 17 Jul 2011 11:46:25 +0000 (13:46 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Wed, 20 Jul 2011 11:39:05 +0000 (13:39 +0200)
commit1a9007b7602ba7feeeffffb9be2cb9ac17593d7e
treebbaf322d3be53db341bc1be5cd0cd1b574578243
parent9d08efd7951cf2a1e2b10a60416758707b53b422
[BUGFIX] Wrong check for existance of translated label

While tslib_fe::getLL() checks the existance of a translated label with
isset(), language::getLLL() does this with a strict string comparison.
This is evaluated as TRUE, if the subkey is not set at all, which is an
unexpected behavior.

Thus check, whether the label was translated into the current language
using isset().

Change-Id: I421d541d9aeaa2403052d212c7adba819a4e116f
Resolves: #28264
Releases: 4.6
Reviewed-on: http://review.typo3.org/3380
Reviewed-by: Xavier Perseguers
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/sysext/lang/lang.php