From 7f93fefeae3e26b51529f399d04f32b7ae7eb8a0 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 7 Jan 2013 09:35:36 +0100 Subject: [PATCH] Merge Pull request 154 - thanks to @prestashop-iran --- classes/Pack.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/Pack.php b/classes/Pack.php index 135344c7e..635335a7a 100644 --- a/classes/Pack.php +++ b/classes/Pack.php @@ -150,9 +150,9 @@ class PackCore extends Product return $result; $array_result = array(); - foreach ($result as $row) - if (!Pack::isPack($row['id_product'])) - $array_result[] = Product::getProductProperties($id_lang, $row); + foreach ($result as $prow) + if (!Pack::isPack($prow['id_product'])) + $array_result[] = Product::getProductProperties($id_lang, $prow); return $array_result; }