From 416707b9e1f1e81249dc41704432d71b965bb445 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 25 Nov 2003 10:41:52 +0000 Subject: [PATCH] Correction dans create_stock, suppression du champ commande --- htdocs/product.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product.class.php b/htdocs/product.class.php index f045fe24ad1..e60be36eec1 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -470,8 +470,8 @@ class Product { $sql = "INSERT INTO llx_product_stock "; - $sql .= " (fk_product, fk_entrepot, reel, commande, proposition)"; - $sql .= " VALUES ($this->id, $id_entrepot, $nbpiece, $nbpiece, $nbpiece)"; + $sql .= " (fk_product, fk_entrepot, reel)"; + $sql .= " VALUES ($this->id, $id_entrepot, $nbpiece)"; if ($this->db->query($sql) ) {