diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/path_helper.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/phpBB/phpbb/path_helper.php b/phpBB/phpbb/path_helper.php index a9b520be15..f92c2b72b2 100644 --- a/phpBB/phpbb/path_helper.php +++ b/phpBB/phpbb/path_helper.php @@ -254,16 +254,18 @@ class path_helper foreach ($args as $argument) { - $arguments = explode('=', $argument); - $key = $arguments[0]; - unset($arguments[0]); + if (empty($argument)) + { + continue; + } + list($key, $value) = explode('=', $argument, 2); if ($key === '') { continue; } - $params[$key] = $arguments[1]; + $params[$key] = $value; } } else |