[BUGFIX] Clearing label through TS doesn't work 95/20495/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:24 +0000 (21:34 +0200)
commit0da3e319d0fe3200d54cf574eec598c889457662
treec41af67416072e4a636f92a1a06580dcda9544e9
parentf5eab50adc7c39b629f140e6b749b305b83613ea
[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/20495
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php