//historyController : Refacto done

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8881 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-09-29 13:54:54 +00:00
parent b1e011cabd
commit 8554df3197
+5 -1
View File
@@ -43,10 +43,14 @@ class HistoryControllerCore extends FrontController
_THEME_JS_DIR_.'tools.js'));
}
/**
* Assign template vars related to page content
* @see FrontController::process()
*/
public function process()
{
if ($orders = Order::getCustomerOrders($this->context->customer->id))
foreach ($orders AS &$order)
foreach ($orders as &$order)
{
$myOrder = new Order((int)($order['id_order']));
if (Validate::isLoadedObject($myOrder))