Upgrade to 3.6.3
This commit is contained in:
@@ -12,7 +12,7 @@ use Kirby\Toolkit\Str;
|
||||
* @package Kirby Http
|
||||
* @author Bastian Allgeier <bastian@getkirby.com>
|
||||
* @link https://getkirby.com
|
||||
* @copyright Bastian Allgeier GmbH
|
||||
* @copyright Bastian Allgeier
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
*/
|
||||
class Params extends Query
|
||||
@@ -69,10 +69,13 @@ class Params extends Query
|
||||
}
|
||||
|
||||
$paramParts = Str::split($p, $separator);
|
||||
$paramKey = $paramParts[0];
|
||||
$paramKey = $paramParts[0] ?? null;
|
||||
$paramValue = $paramParts[1] ?? null;
|
||||
|
||||
$params[$paramKey] = $paramValue;
|
||||
if ($paramKey !== null) {
|
||||
$params[$paramKey] = $paramValue;
|
||||
}
|
||||
|
||||
unset($path[$index]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user