diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index c8578d74d1e..41e70dec78a 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -809,7 +809,11 @@ class Form { global $langs; print ''; - $options = array(0=>"non",1=>"oui"); + $options = array( + '-1'=>' ', + '0'=>$langs->trans("No"), + '1'=>$langs->trans("Yes") + ); foreach($options as $id => $value) { if ($selected == $id) @@ -1821,15 +1825,11 @@ class Form while (list($key, $value) = each ($array)) { - print '".$value."\n"; } }