// Bugs fix (Collection, SQL optimizations, Backoffice interfaces improvement, ...) + update db_settings_extends.sql for base datas relative to available quantities and suppliers

This commit is contained in:
dSevere
2011-12-06 18:07:06 +00:00
parent 112540fa9f
commit 4b4d43d69f
8 changed files with 136 additions and 73 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ class ProductSupplierCore extends ObjectModel
if ($res && $this->id_product_attribute == 0)
{
$items = self::getSupplierCollection($this->id_product, false);
foreach ($items as &$item)
foreach ($items as $item)
{
if ($item->id_product_attribute > 0)
$item->delete();