From 180636743e4f6d639016d22d3af23ba6b10a6d38 Mon Sep 17 00:00:00 2001 From: Pascal Borreli Date: Mon, 26 Nov 2012 22:52:59 +0000 Subject: [PATCH] Fixed readability --- app/code/core/Mage/Catalog/Model/Resource/Url.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/core/Mage/Catalog/Model/Resource/Url.php b/app/code/core/Mage/Catalog/Model/Resource/Url.php index 66e472d46aca2..ed6a63f13d471 100755 --- a/app/code/core/Mage/Catalog/Model/Resource/Url.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Url.php @@ -628,9 +628,9 @@ public function _getProductAttribute($attributeCode, $productIds, $storeId) $attributes[$row['entity_id']] = $row['value']; } unset($rowSet); - foreach ($productIds as $productIds) { - if (!isset($attributes[$productIds])) { - $attributes[$productIds] = null; + foreach ($productIds as $productId) { + if (!isset($attributes[$productId])) { + $attributes[$productId] = null; } }