// clean useless code

This commit is contained in:
aFolletete
2012-03-23 11:05:55 +00:00
parent 3729d27a4f
commit 6366dd968f
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ $customer = new Customer($cart->id_customer);
if (!Validate::isLoadedObject($customer))
Tools::redirect('index.php?controller=order&step=1');
$currency = Tools::isSubmit('currency_payement') ? new Currency(Tools::getValue('currency_payement')) : $context->currency;
$currency = $context->currency;
$total = (float)$cart->getOrderTotal(true, Cart::BOTH);
$mailVars = array(