mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-13 15:18:41 +00:00
Fixing empty query bug
This commit is contained in:
parent
d6126b1ffc
commit
2347f3fb29
|
|
@ -100,7 +100,10 @@ class UriFactory
|
||||||
|
|
||||||
for ($i = 0; $i < $length; $i++) {
|
for ($i = 0; $i < $length; $i++) {
|
||||||
$spl = explode('=', $pars[$i]);
|
$spl = explode('=', $pars[$i]);
|
||||||
$comps[$spl[0]] = $spl[1];
|
|
||||||
|
if(isset($spl[1])) {
|
||||||
|
$comps[$spl[0]] = $spl[1];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$pars = [];
|
$pars = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user