[-] FO: Fix Pack::getItemTable with some PHP versions

This commit is contained in:
Rémi Gaillard
2013-01-15 18:53:01 +01:00
parent d450a259c4
commit 02bbfb25d6
+2 -2
View File
@@ -142,8 +142,8 @@ class PackCore extends Product
AND a.`id_product_pack` = '.(int)$id_product; AND a.`id_product_pack` = '.(int)$id_product;
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql); $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql);
foreach ($result as &$row) foreach ($result as &$line)
$row = Product::getTaxesInformations($row); $line = Product::getTaxesInformations($line);
if (!$full) if (!$full)
return $result; return $result;