From 27ec9c3e17b79a91b5733d5144b7d32c656b09ca Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 7 Apr 2006 14:48:18 +0000 Subject: [PATCH] bugfix --- 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 9d97e6b9d21..7b01938c7e6 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -292,7 +292,7 @@ class Product $sqld = "DELETE from ".MAIN_DB_PREFIX."product "; $sqld.= " WHERE rowid = ".$id; $result = $this->db->query($sqld); - return $result; + return 0; } else {