Issue Bug Closed

#17911Unlike the default preview language, fields of additionalPreviewLanguages are shown if they are empty

Helmut Hummel 12/12/07, 00:59 updated 08/06/10, 13:17

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.