@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl ON (ag.`id_attribute_group` = agl.`id_attribute_group`) |
230 | 230 | INNER JOIN '._DB_PREFIX_.'attribute_shop attribute_shop |
231 | 231 | ON (attribute_shop.id_attribute = a.id_attribute AND attribute_shop.id_shop = 1) |
232 | - WHERE pas.`id_product_attribute`= '.(int)$id_product_attribute.' |
|
232 | + WHERE pas.`id_product_attribute`= '.(int) $id_product_attribute.' |
|
233 | 233 | GROUP BY id_attribute_group, id_product_attribute |
234 | 234 | ORDER BY ag.`position` ASC, a.`position` ASC, agl.`name` ASC'; |
235 | 235 | |
@@ -379,7 +379,7 @@ discard block |
||
379 | 379 | |
380 | 380 | if (is_array($result)) |
381 | 381 | { |
382 | - foreach($result as $key => $value) |
|
382 | + foreach ($result as $key => $value) |
|
383 | 383 | { |
384 | 384 | $result['orderprice'] = $this->getOrderPrice($product); |
385 | 385 | $result['category_default'] $this->getProductCat($value['cat_id']); |