Remove table that does not exists

This commit is contained in:
Laurent Destailleur 2017-05-17 16:05:26 +02:00
parent 1d6b4cb28a
commit c224e2b4f6

View File

@ -1076,7 +1076,7 @@ class Product extends CommonObject
// Delete all child tables
if (! $error)
{
$elements = array('product_fournisseur_price','product_price','product_lang','categorie_product','product_stock','product_customer_price','product_lot','product_warehouse_properties'); // product_batch is done before
$elements = array('product_fournisseur_price','product_price','product_lang','categorie_product','product_stock','product_customer_price','product_lot'); // product_batch is done before
foreach($elements as $table)
{
if (! $error)