// Small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17372 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+4
-1
@@ -1641,7 +1641,10 @@ class ProductCore extends ObjectModel
|
||||
'.Shop::addSqlAssociation('product_attribute', 'pa').'
|
||||
WHERE pa.`id_product` = '.(int)$this->id.'
|
||||
GROUP BY pa.`id_product_attribute`');
|
||||
|
||||
|
||||
if (!$combinations)
|
||||
return false;
|
||||
|
||||
$product_attributes = array();
|
||||
foreach ($combinations as $combination)
|
||||
$product_attributes[] = (int)$combination['id_product_attribute'];
|
||||
|
||||
Reference in New Issue
Block a user