Skip to content

Commit

Permalink
[-] FO : fixed bug #PSCFV-4950
Browse files Browse the repository at this point in the history
  • Loading branch information
vAugagneur committed Oct 17, 2012
1 parent 04fc63c commit be697d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/front/AuthController.php
Expand Up @@ -582,7 +582,7 @@ protected function processSubmitAccount()
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)
Expand Down

0 comments on commit be697d7

Please sign in to comment.