Fix getUrl() not resetting existing params when called with an array

This commit is contained in:
Kijin Sung 2020-07-04 00:29:58 +09:00
parent 45c4da14e2
commit 68f428edd7

View file

@ -1672,6 +1672,7 @@ class Context
// If $args_list contains one array, reset existing parameters and use keys & values from $args_list.
if (is_array($args_list[0]) && count($args_list) == 1)
{
$get_vars = array();
foreach ($args_list[0] as $key => $val)
{
$val = trim($val);