Language menu in the B.O to switch UI language on the fly. (see issue #183)

This commit is contained in:
Franck Allimant
2014-01-26 22:03:11 +01:00
parent 6b78a33f97
commit 3c36a3e1b2
2 changed files with 32 additions and 11 deletions

View File

@@ -154,7 +154,8 @@ class URL
$sepChar = strstr($base, '?') === false ? '?' : '&';
if ('' !== $queryString = rtrim($queryString, "&")) $queryString = $sepChar . $queryString;
return $base . $queryString;
return rtrim($base, '&') . $queryString;
}
/**