diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 8887d81c268..2cf78a053d3 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -549,7 +549,7 @@ class Form * \param htmlname Nom champ formulaire ('none' pour champ non editable) * \return int <0 si ko, >=0 si ok */ - function select_contacts($socid,$selected='',$htmlname='contactid') + function select_contacts($socid,$selected='',$htmlname='contactid',$showempty=0) { // On recherche les societes $sql = "SELECT s.idp, s.name, s.firstname FROM"; @@ -564,6 +564,7 @@ class Form if ($num==0) return 0; if ($htmlname != 'none') print '