// cleaning code (norm / perf)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8837 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-09-28 09:37:29 +00:00
parent 7dcd300c7d
commit 966250e202
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']);