Getting closer maybe.
This commit is contained in:
parent
adc02ae320
commit
ef4cbb79cd
1 changed files with 3 additions and 0 deletions
3
base.php
3
base.php
|
@ -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 = "?";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue