mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 06:28:40 +00:00
Optimizing query output
This commit is contained in:
parent
a9186d802e
commit
7850d60b6c
|
|
@ -185,7 +185,7 @@ class UriFactory
|
||||||
$pars[] = $key . '=' . $value;
|
$pars[] = $key . '=' . $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
$url = $parts[0] . '?' . implode('&', $pars);
|
return $parts[0] . (empty($pars) ? '' : '?' . implode('&', $pars));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $url;
|
return $url;
|
||||||
|
|
@ -224,8 +224,6 @@ class UriFactory
|
||||||
str_replace('&', '?', $parsed);
|
str_replace('&', '?', $parsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
$parsed = self::unique($parsed);
|
return self::unique($parsed);
|
||||||
|
|
||||||
return $parsed;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user