From 1f36eb2de5a859fa1d2627b70bf32e0d902e6efe Mon Sep 17 00:00:00 2001 From: aNiassy Date: Wed, 27 Apr 2011 13:45:27 +0000 Subject: [PATCH] [-] FO : #PSCFI-1654 Fixed a bug concerning the order process after a login --- controllers/OrderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/OrderController.php b/controllers/OrderController.php index da0739fb7..514f3bf97 100644 --- a/controllers/OrderController.php +++ b/controllers/OrderController.php @@ -67,7 +67,7 @@ class OrderControllerCore extends ParentOrderController } if (!self::$cookie->isLogged(true) AND in_array($this->step, array(1, 2, 3))) - Tools::redirect('authentication.php?back=order.php?step='.$this->step); + Tools::redirect('authentication.php?back='.urlencode('order.php?step='.$this->step)); if ($this->nbProducts) self::$smarty->assign('virtual_cart', $isVirtualCart);