FIX contact type translation (#36863)
This commit is contained in:
parent
fcef8ec922
commit
de96c57acf
1 changed files with 1 additions and 1 deletions
|
|
@ -1706,7 +1706,7 @@ abstract class CommonObject
|
|||
$obj = $this->db->fetch_object($resql);
|
||||
|
||||
$transkey = "TypeContact_".$this->element."_".$source."_".$obj->code;
|
||||
$libelle_type = ($langs->trans($transkey) != $transkey ? $langs->trans($transkey) : $obj->type_label);
|
||||
$libelle_type = ($langs->trans($transkey) != $transkey ? $langs->trans($transkey) : $langs->trans($obj->type_label));
|
||||
if (empty($option)) {
|
||||
$tab[$obj->rowid] = $libelle_type;
|
||||
} elseif ($option == 1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue