From 0279fef21ebd0eec5e6968de6f63f364251fad04 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 24 Apr 2006 14:54:12 +0000 Subject: [PATCH] bugfix --- htdocs/html.form.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 0f42e08bfc6..d53906374e8 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -761,7 +761,7 @@ class Form * \param selected Id contact pré-sélectionn * \param htmlname Nom champ formulaire */ - function select_adresse_livraison($selected='', $socid, $htmlname='idl') + function select_adresse_livraison($selected='', $socid, $htmlname='adresse_livraison_id') { // On recherche les utilisateurs $sql = "SELECT a.rowid, a.label"; @@ -1597,7 +1597,7 @@ class Form print ''; print ''; print ''; print '
'; - $numaddress = $this->select_adresse_livraison($selected, $_GET['socid'], $htmlname); + $numaddress = $this->select_adresse_livraison($selected, $socid, $htmlname); print ''; if ($numaddress==0)