From de96c57acfc350ee254f271db3706b1ab3fac620 Mon Sep 17 00:00:00 2001 From: atm-vincent-p Date: Tue, 13 Jan 2026 11:35:32 +0100 Subject: [PATCH] FIX contact type translation (#36863) --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index a38c8db46e1..a6927c1b87f 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -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) {