[-] 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

View File

@@ -142,8 +142,8 @@ class PackCore extends Product
AND a.`id_product_pack` = '.(int)$id_product;
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql);
foreach ($result as &$row)
$row = Product::getTaxesInformations($row);
foreach ($result as &$line)
$line = Product::getTaxesInformations($line);
if (!$full)
return $result;