Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
233810d41d
@ -119,7 +119,7 @@ if ($_SERVER['PHP_SELF'] != DOL_URL_ROOT.'/website/index.php') // If we browsing
|
||||
exit;
|
||||
} else {
|
||||
$newpageref = $obj->pageurl;
|
||||
header("Location: ".$newpageref.'.php?l='.GETPOST('l', 'aZ09'));
|
||||
header("Location: ".(($obj->lang && $obj->lang != $website->lang) ? '/'.$obj->lang.'/' : '/').$newpageref.'.php?l='.GETPOST('l', 'aZ09'));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user