From 7401a946c82bb0e3ce48d127df14dafae01b604b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 13 Sep 2006 08:25:27 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20la=20table=20llx=5Fsociete=5Fprices=20n'?= =?UTF-8?q?=E9tait=20plus=20cr=E9=E9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/produit.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/admin/produit.php b/htdocs/admin/produit.php index 1aaf2e01f5d..fbe5efde6d9 100644 --- a/htdocs/admin/produit.php +++ b/htdocs/admin/produit.php @@ -50,9 +50,6 @@ else if ($_POST["action"] == 'multiprix_num') } if ($_POST["action"] == 'multiprix') { - $res=$db -> desc_table(MAIN_DB_PREFIX."product_price","price_level"); - if(! $db -> fetch_row()) - { // on ajoute le champ price_level dans la table societe if(! $db -> add_field(MAIN_DB_PREFIX."societe","price_level",$field_desc)) { @@ -81,7 +78,6 @@ if ($_POST["action"] == 'multiprix') Header("Location: produit.php"); } } - } else { dolibarr_set_const($db, "PRODUIT_MULTIPRICES", $_POST["activate_multiprix"]);