// cleaning code (norm / perf)

This commit is contained in:
vChabot
2011-09-28 09:37:29 +00:00
parent 6edfb9879c
commit 821404ed2f
8 changed files with 21 additions and 25 deletions
+1 -2
View File
@@ -277,8 +277,7 @@ class ProductControllerCore extends FrontController
$groups[$row['id_attribute_group']]['attributes_quantity'][$row['id_attribute']] = 0;
$groups[$row['id_attribute_group']]['attributes_quantity'][$row['id_attribute']] += (int)($row['quantity']);
//french date format
$availableDate = date('j-m-Y',strtotime($row['available_date']));
$availableDate = Tools::displayDate(strtotime($row['available_date']), $this->context->language->id);
$combinations[$row['id_product_attribute']]['attributes_values'][$row['id_attribute_group']] = $row['attribute_name'];
$combinations[$row['id_product_attribute']]['attributes'][] = (int)($row['id_attribute']);