// Fix bug #PSFV-229 in bankwire module
This commit is contained in:
1 parent
929ab11c53
commit
0ac2e534e9
1 file changed
+1
-1
@@ -52,7 +52,7 @@ if (!$authorized)
|
|||||||
$customer = new Customer((int)$cart->id_customer);
|
$customer = new Customer((int)$cart->id_customer);
|
||||||
|
|
||||||
if (!Validate::isLoadedObject($customer))
|
if (!Validate::isLoadedObject($customer))
|
||||||
Tools::redirec('index.php?controller=order&step=1');
|
Tools::redirect('index.php?controller=order&step=1');
|
||||||
|
|
||||||
$currency = Tools::getValue('currency_payement', false) ? new Currency(Tools::getValue('currency_payement')) : Context::getContext()->currency;
|
$currency = Tools::getValue('currency_payement', false) ? new Currency(Tools::getValue('currency_payement')) : Context::getContext()->currency;
|
||||||
$total = (float)($cart->getOrderTotal(true, Cart::BOTH));
|
$total = (float)($cart->getOrderTotal(true, Cart::BOTH));
|
||||||
|
|||||||
Reference in new issue
Block a user