[-] FO : fixed bug #PSCFV-4950
This commit is contained in:
@@ -582,7 +582,7 @@ class AuthControllerCore extends FrontController
|
|||||||
if (!Configuration::get('PS_REGISTRATION_PROCESS_TYPE') && !$this->ajax && !Tools::isSubmit('submitGuestAccount'))
|
if (!Configuration::get('PS_REGISTRATION_PROCESS_TYPE') && !$this->ajax && !Tools::isSubmit('submitGuestAccount'))
|
||||||
Tools::redirect('index.php?controller=address');
|
Tools::redirect('index.php?controller=address');
|
||||||
if ($back = Tools::getValue('back'))
|
if ($back = Tools::getValue('back'))
|
||||||
Tools::redirect('index.php?controller='.$back);
|
Tools::redirect($back);
|
||||||
Tools::redirect('index.php?controller=my-account');
|
Tools::redirect('index.php?controller=my-account');
|
||||||
// redirection: if cart is not empty : redirection to the cart
|
// redirection: if cart is not empty : redirection to the cart
|
||||||
if (count($this->context->cart->getProducts(true)) > 0)
|
if (count($this->context->cart->getProducts(true)) > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user