diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 0865827c189..f00a3c7d753 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -1272,6 +1272,7 @@ class Form $result=$this->db->query($sql); if ($result) { + print '
'; print ''; + print '
'; } else { @@ -2165,9 +2167,16 @@ class Form \param key_in_label 1 pour afficher la key dans la valeur "[key] value" \param value_as_key 1 pour utiliser la valeur comme clé */ - function select_array($htmlname, $array, $id='', $show_empty=0, $key_in_label=0, $value_as_key=0) + function select_array($htmlname, $array, $id='', $show_empty=0, $key_in_label=0, $value_as_key=0, $use_java=0, $fonction='') { - print ''; + } + else + { + print '