Attempt to fix Undefined array key 1

This commit is contained in:
Jay Trees 2022-03-01 11:15:24 +01:00
parent 0007ffbb74
commit 0367ee913c

View file

@ -42,8 +42,8 @@ class URL
foreach ($parameters_pairs as $index => $pair) {
$parts = explode('=', $pair);
$key = $parts[0];
$value = $parts[1];
$key = reset($parts);
$value = end($parts);
$parameters[$key] = $value;
}