[TYPO3-core] RFC: bugfix #6932 Unlike the default preview language, fields of additionalPreviewLanguages are shown if they are empty

Helmut Hummel typo3 at jhpc.de
Thu Jan 3 21:41:46 CET 2008


Reminder #1

Helmut Hummel schrieb:
> Hi,
> 
> another little language issue...
> 
> This is a SVN patch request.
> 
> Branches: 4_1, trunk
> 
> BT Reference: http://bugs.typo3.org/view.php?id=6932
> 
> Problem:
> If a field of a translated record does contain a value in the default
> language, a preview of this default language field is shown. If the
> field in default languge is empty, nothing is shown.
> 
> Solution:
> Like for default language, check if the field in
> additionalPreviewLanguages contains any data.
> 
> This is done by a simple check in function renderDefaultLanguageContent:
> 
> if (strcmp($dLVal,''))
> 
> But this check is missing for additionalPreviewLanguages.
> 
> Solution:
> Add this check for additionalPreviewLanguages, too.
> 
> 


-- 
lib.salutation = TEXT
lib.salutation.value = Kind regards, Helmut
lib.salutation.lang.de = Viele Grüße, Helmut


More information about the TYPO3-team-core mailing list