Actions
Bug #17911
closedUnlike the default preview language, fields of additionalPreviewLanguages are shown if they are empty
Start date:
2007-12-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If field of a translated record does contain a value in the default language, the content of this field is shown. If the field in default languge is empty, nothing is shown.
Simply add a language to options.additionalPreviewLanguages and look at a translated record.
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
(issue imported from #M6932)
Files
Actions