[-] FO : fixed bug #PSCFV-4950

This commit is contained in:
vAugagneur
2012-10-17 10:02:18 +00:00
parent 07ca3c5258
commit bfb52fbfbc
+1 -1
View File
@@ -582,7 +582,7 @@ class AuthControllerCore extends FrontController
if (!Configuration::get('PS_REGISTRATION_PROCESS_TYPE') && !$this->ajax && !Tools::isSubmit('submitGuestAccount'))
Tools::redirect('index.php?controller=address');
if ($back = Tools::getValue('back'))
Tools::redirect('index.php?controller='.$back);
Tools::redirect($back);
Tools::redirect('index.php?controller=my-account');
// redirection: if cart is not empty : redirection to the cart
if (count($this->context->cart->getProducts(true)) > 0)