[BUGFIX] Clearing label through TS doesn't work 96/20496/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Fri, 5 Apr 2013 19:02:00 +0000 (21:02 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 7 May 2013 19:34:41 +0000 (21:34 +0200)
commit91498d5eb69c540846765c91d8e68710bcdf1fe6
tree856c1ead4ec75a92cbe384eb032979092cf8f22b
parent009938bd62d4f06d32715058bd90ec16593c46a4
[BUGFIX] Clearing label through TS doesn't work

Overriding labels of non-default languages using TypoScript
fails if the value is empty.
The problem is that we cannot distinguish between missing translations
and labels cleared by TypoScript.
(In both cases ['target'] === "")

Change-Id: Iac666ecd7fa9af900f9852a777be3127437e0365
Fixes: #43959
Releases: 6.2, 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/20496
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php