[-] FO: Fix #PSCFV-5652 url redirection after a guest order was bas

This commit is contained in:
rGaillard
2012-11-15 18:11:10 +00:00
parent f9d01a5d66
commit 893b26327a
+1 -1
View File
@@ -179,7 +179,7 @@ class OrderControllerCore extends ParentOrderController
$order = new Order((int)$id_order);
$email = $this->context->customer->email;
$this->context->customer->mylogout(); // If guest we clear the cookie for security reason
Tools::redirect('index.php?controller=guest-tracking&id_order='.(int)$order->reference.'&email='.urlencode($email));
Tools::redirect('index.php?controller=guest-tracking&id_order='.urlencode($order->reference).'&email='.urlencode($email));
}
else
Tools::redirect('index.php?controller=history');