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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11014 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dSevere
2011-12-06 18:07:06 +00:00
parent bfcb15b998
commit 1f42bf8d4e
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();