diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 22e7ea06d..1b8e186ce 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -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)