Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
148bdec96f
@ -1455,6 +1455,7 @@ class Website extends CommonObject
|
||||
$url = preg_replace('/(\?|&)l=([a-zA-Z_]*)/', '', $url); // We remove param l from url
|
||||
//$url = preg_replace('/(\?|&)lang=([a-zA-Z_]*)/', '', $url); // We remove param lang from url
|
||||
$url .= (preg_match('/\?/', $url) ? '&' : '?').'l=';
|
||||
if (! preg_match('/^\//', $url)) $url = '/'.$url;
|
||||
|
||||
$HEIGHTOPTION = 40;
|
||||
$MAXHEIGHT = 4 * $HEIGHTOPTION;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user