Fixing empty query bug

This commit is contained in:
Dennis Eichhorn 2016-09-15 17:49:31 +02:00
parent d6126b1ffc
commit 2347f3fb29

View File

@ -100,7 +100,10 @@ class UriFactory
for ($i = 0; $i < $length; $i++) {
$spl = explode('=', $pars[$i]);
$comps[$spl[0]] = $spl[1];
if(isset($spl[1])) {
$comps[$spl[0]] = $spl[1];
}
}
$pars = [];