From 12cb60040b86ae9b2339ca04e40a52a49a5125d9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 16 Oct 2018 01:52:22 +0200 Subject: [PATCH] Fix multilang --- htdocs/core/website.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/website.inc.php b/htdocs/core/website.inc.php index 71550d4d118..1338104de0b 100644 --- a/htdocs/core/website.inc.php +++ b/htdocs/core/website.inc.php @@ -74,7 +74,7 @@ if ($_SERVER['PHP_SELF'] != DOL_URL_ROOT.'/website/index.php') // If we browsing if ($newpageid != $pageid) // To avoid to make a redirect on same page (infinite loop) { if (defined('USEDOLIBARRSERVER')) { - header("Location: ".DOL_URL_ROOT.'/public/website/index.php?website='.$websitekey.'&pageid='.$newpageid.'.php&l='.GETPOST('l','aZ09')); + header("Location: ".DOL_URL_ROOT.'/public/website/index.php?website='.$websitekey.'&pageid='.$newpageid.'&l='.GETPOST('l','aZ09')); exit; } else