diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index d4a39e83100..3cdb5c7a692 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -1033,7 +1033,7 @@ class Form $obj = $this->db->fetch_object($resql); // Si traduction existe, on l'utilise, sinon on prend le libellé par défaut - $libelle=($langs->trans("PaymentModeShort".$obj->code)!=("PaymentModeShort".$obj->code)?$langs->trans("PaymentModeShort".$obj->code):($obj->libelle!='-'?$obj->libelle:'')); + $libelle=($langs->trans("PaymentTypeShort".$obj->code)!=("PaymentTypeShort".$obj->code)?$langs->trans("PaymentTypeShort".$obj->code):($obj->libelle!='-'?$obj->libelle:'')); $this->cache_types_paiements_code[$obj->id]=$obj->code; $this->cache_types_paiements_libelle[$obj->id]=$libelle; $this->cache_types_paiements_type[$obj->id]=$obj->type;