Update mails_templates.php

This commit is contained in:
Laurent Destailleur 2021-02-15 15:57:08 +01:00 committed by GitHub
parent e7c2dcd89c
commit ad9f58d246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -890,7 +890,7 @@ if ($resql)
$class = "tddict";
$valuetoshow = $obj->{$fieldlist[$field]};
if ($value == 'label' || $value == 'topic') {
if ($langs->trans($valuetoshow)!=$valuetoshow) {
if ($langs->trans($valuetoshow) != $valuetoshow) {
$valuetoshow = $langs->trans($valuetoshow);
}
$valuetoshow = dol_escape_htmltag($valuetoshow);