//historyController : Refacto done

This commit is contained in:
mDeflotte
2011-09-29 13:54:54 +00:00
parent 5b2db9603b
commit 815dbc6fc7
+5 -1
View File
@@ -43,10 +43,14 @@ class HistoryControllerCore extends FrontController
_THEME_JS_DIR_.'tools.js')); _THEME_JS_DIR_.'tools.js'));
} }
/**
* Assign template vars related to page content
* @see FrontController::process()
*/
public function process() public function process()
{ {
if ($orders = Order::getCustomerOrders($this->context->customer->id)) if ($orders = Order::getCustomerOrders($this->context->customer->id))
foreach ($orders AS &$order) foreach ($orders as &$order)
{ {
$myOrder = new Order((int)($order['id_order'])); $myOrder = new Order((int)($order['id_order']));
if (Validate::isLoadedObject($myOrder)) if (Validate::isLoadedObject($myOrder))