From 9dfa5c4218fde5ca54efc84a218ac71b6b698333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Salvador?= Date: Wed, 12 Jun 2013 14:50:32 +0200 Subject: [PATCH] selects --- htdocs/core/class/html.form.class.php | 8 +------- htdocs/product/stock/replenish.php | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 6983865eac9..d908e243dfa 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1860,15 +1860,9 @@ class Form { $form.= ''; } - else if ($num == 1) { - $objp = $this->db->fetch_object($result); - $form = $objp->nom; - $form .= ''; - } else { - $form = '