[-] FO: Fix PSCFV-3812

This commit is contained in:
rGaillard
2012-08-29 17:36:48 +00:00
parent 7f39f2d213
commit 957bd40350
+2 -1
View File
@@ -2966,7 +2966,8 @@ class ProductCore extends ObjectModel
($active ? ' AND product_shop.`active` = 1' : '');
if (!$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql))
return false;
foreach ($result as &$row)
$row['id_product_attribute'] = Product::getDefaultAttribute((int)$row['id_product']);
return $this->getProductsProperties($id_lang, $result);
}