// 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:
1 parent
464ab13391
commit
fc7cfa168f
1 file changed
+3
@@ -1642,6 +1642,9 @@ class ProductCore extends ObjectModel
|
||||
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