Attempt to fix Undefined array key 1
This commit is contained in:
parent
0007ffbb74
commit
0367ee913c
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue