diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 25f94e8b68d..19fdf6452dc 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -309,7 +309,7 @@ class Form * \param htmlname Nom champ formulaire * \param filter Criteres optionnels de filtre */ - function select_societes($selected='',$htmlname='soc_id',$filter) + function select_societes($selected='',$htmlname='soc_id',$filter='') { // On recherche les societes $sql = "SELECT s.idp, s.nom FROM";