// Small fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17104 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-08-30 15:43:17 +00:00
parent 1b64465a67
commit 9cae65593b
+1 -5
View File
@@ -1017,11 +1017,7 @@ class ProductCore extends ObjectModel
$diff = false;
for ($i = 0; $diff == false && isset($product_attribute[$i]); $i++)
if (!in_array($product_attribute[$i], $attributes_list) || $key == $current_product_attribute)
{
if ($return_id)
return $key;
return true;
}
$diff = true;
if (!$diff)
{
if ($return_id)