From 63f0c4e3affb46a1c5542bc6a2389e83c0065d3c Mon Sep 17 00:00:00 2001 From: liedekef Date: Sat, 6 Jan 2007 00:31:26 +0000 Subject: [PATCH] Small correction so translations can be found correctly. --- htdocs/html.form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;