From 184515a27c872002d0c23f146d888a8ab2fbe344 Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Thu, 11 Jul 2013 18:03:24 +0200 Subject: [PATCH] [-] MO : fixed bad redirection in trackingfront #PSCFV-8378 --- modules/trackingfront/trackingfront.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/trackingfront/trackingfront.php b/modules/trackingfront/trackingfront.php index 90626d808..bf68b987f 100644 --- a/modules/trackingfront/trackingfront.php +++ b/modules/trackingfront/trackingfront.php @@ -61,7 +61,7 @@ class TrackingFront extends Module { unset($this->context->cookie->tracking_id); unset($this->context->cookie->tracking_passwd); - Tools::redirect('modules/trackingfront/stats.php'); + Tools::redirect(Tools::getShopDomain(true, false).__PS_BASE_URI__.'modules/trackingfront/stats.php'); } elseif (Tools::isSubmit('submitLoginTracking')) { @@ -89,7 +89,7 @@ class TrackingFront extends Module { $this->context->cookie->tracking_id = $tracking_id; $this->context->cookie->tracking_passwd = $passwd; - Tools::redirect('modules/trackingfront/stats.php'); + Tools::redirect(Tools::getShopDomain(true, false).__PS_BASE_URI__.'modules/trackingfront/stats.php'); } } $this->smarty->assign('errors', $errors);