Skip to content

Commit

Permalink
FIX: Not delete a product when have customer price
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarcet committed Dec 3, 2015
1 parent e72f4cb commit eb98bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/product/class/product.class.php
Expand Up @@ -806,7 +806,7 @@ function delete($id=0)
}

// 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)
Expand Down

0 comments on commit eb98bd1

Please sign in to comment.