diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 230225c8013..5575b32b8ce 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -204,7 +204,7 @@ class Form
}
# Si traduction existe, on l'utilise, sinon on prend le libellé par défaut
if ($obj->code) { print '['.$obj->code.'] '; }
- print ($langs->trans("Country".$obj->code)!="Country".$obj->code?$langs->trans("Country".$obj->code):($obj->libelle!='-'?$obj->libelle:''));
+ print ($obj->code && $langs->trans("Country".$obj->code)!="Country".$obj->code?$langs->trans("Country".$obj->code):($obj->libelle!='-'?$obj->libelle:''));
print '';
$i++;
}