Getting closer maybe.

This commit is contained in:
Sébastien Lucas 2013-11-29 07:32:08 +01:00
parent adc02ae320
commit ef4cbb79cd
1 changed files with 3 additions and 0 deletions

View File

@ -192,6 +192,9 @@ function localize($phrase, $count=-1, $reset=false) {
}
function addURLParameter($urlParams, $paramName, $paramValue) {
if (empty ($urlParams)) {
$urlParams = "";
}
$start = "";
if (preg_match ("#^\?(.*)#", $urlParams, $matches)) {
$start = "?";