From f44a0db14503954b584c734d3a11e12ebefceebd Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 22 Nov 2007 18:20:20 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20le=20champ=20vide=20de=20la=20liste=20d?= =?UTF-8?q?=E9roulante=20=E9tait=20=E0=201=20ce=20qui=20pouvait=20attribue?= =?UTF-8?q?r=20un=20contact=20invalide?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/propal.php | 2 +- htdocs/html.form.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 6f94495d4b7..dae474a4d5a 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -248,7 +248,7 @@ if ($_POST['action'] == 'add' && $user->rights->propale->creer) if ($_POST["contactidp"]) { $result=$propal->add_contact($_POST["contactidp"],'CUSTOMER','external'); - + if ($result > 0) { $error=0; diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index cdfb31ece5e..afcaaeeab98 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -819,7 +819,7 @@ class Form if ($num == 0) return 0; if ($htmlname != 'none') print '