// Fix currency storage in backoffice orders

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16611 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-07-30 15:32:22 +00:00
parent 2ce01cc89e
commit 22d4e61e54
@@ -875,6 +875,7 @@ class AdminOrdersControllerCore extends AdminController
{
$payment_module = Module::getInstanceByName($module_name);
$cart = new Cart((int)$id_cart);
Context::getContext()->currency = new Currency((int)$cart->id_currency);
Context::getContext()->customer = new Customer((int)$cart->id_customer);
$employee = new Employee((int)Context::getContext()->cookie->id_employee);
$payment_module->validateOrder(