From 3b1e8854e31e36996dcf865e848253325691abce Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 7 Apr 2006 13:11:30 +0000 Subject: [PATCH] bugfix --- 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 220f22bb62e..b225d57f58a 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -285,8 +285,8 @@ class Product { $sqld = "DELETE from ".MAIN_DB_PREFIX."product "; $sqld.= " WHERE rowid = ".$id; - $this->db->query($sqld); - return 0; + $result = $this->db->query($sqld); + return $result; } else {