Getting closer maybe.
This commit is contained in:
parent
adc02ae320
commit
ef4cbb79cd
3
base.php
3
base.php
|
@ -192,6 +192,9 @@ function localize($phrase, $count=-1, $reset=false) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function addURLParameter($urlParams, $paramName, $paramValue) {
|
function addURLParameter($urlParams, $paramName, $paramValue) {
|
||||||
|
if (empty ($urlParams)) {
|
||||||
|
$urlParams = "";
|
||||||
|
}
|
||||||
$start = "";
|
$start = "";
|
||||||
if (preg_match ("#^\?(.*)#", $urlParams, $matches)) {
|
if (preg_match ("#^\?(.*)#", $urlParams, $matches)) {
|
||||||
$start = "?";
|
$start = "?";
|
||||||
|
|
Loading…
Reference in a new issue