From eb98bd1e788ea181448244e42f7825abc50fdaa2 Mon Sep 17 00:00:00 2001 From: fmarcet Date: Thu, 3 Dec 2015 14:02:26 +0100 Subject: [PATCH] FIX: Not delete a product when have customer price --- htdocs/product/class/product.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index 41c73a227a4..22dde9accc7 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -806,7 +806,7 @@ class Product extends CommonObject } // Delete all child tables - $elements = array('product_fournisseur_price','product_price','product_lang','categorie_product','product_stock'); + $elements = array('product_fournisseur_price','product_price','product_lang','categorie_product','product_stock','product_customer_price'); foreach($elements as $table) { if (! $error)