[-] FO : fixed bug #PSCFV-4950

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17892 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-10-17 10:02:18 +00:00
parent 0320d97012
commit 0a46ac4257
+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)