From ac17debf8b2950bfbfb322d87e4a26262669c8b3 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 25 Oct 2003 10:21:23 +0000 Subject: [PATCH] bugfix syntax error --- htdocs/product.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 1bcdeb81817..57c8b337ae6 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -77,7 +77,7 @@ class Product $sql = "INSERT INTO llx_product (datec, fk_user_author, fk_product_type, price)"; $sql .= " VALUES (now(),".$user->id.",$this->type, " . ereg_replace(",",".",$this->price) . ")"; - $result = $this->db->query($sql) + $result = $this->db->query($sql); if ( $result ) { $id = $this->db->last_insert_id();