[-] FO: Fix #PSCFV-5652 url redirection after a guest order was bas
This commit is contained in:
@@ -179,7 +179,7 @@ class OrderControllerCore extends ParentOrderController
|
|||||||
$order = new Order((int)$id_order);
|
$order = new Order((int)$id_order);
|
||||||
$email = $this->context->customer->email;
|
$email = $this->context->customer->email;
|
||||||
$this->context->customer->mylogout(); // If guest we clear the cookie for security reason
|
$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
|
else
|
||||||
Tools::redirect('index.php?controller=history');
|
Tools::redirect('index.php?controller=history');
|
||||||
|
|||||||
Reference in New Issue
Block a user