mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-18 09:28:39 +00:00
This commit is contained in:
parent
b6c4f1e4bc
commit
5ba3ac9dd9
|
|
@ -212,10 +212,13 @@ final class UriFactory
|
|||
|
||||
if (isset($spl[1]) && !\in_array($spl[0], $keys)) {
|
||||
$keys[] = $spl[0];
|
||||
|
||||
if (!empty($spl[1])) {
|
||||
$query = $spl[0] . '=' . $spl[1] . '&' . $query;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $url . (!empty($query) ? '?' . \rtrim($query, '&') : '');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user