Revert "Fix PHP 8.x error when getUrl() is called with weird parameters"

This reverts commit 3adcbb3528.
This commit is contained in:
Kijin Sung 2022-09-13 19:49:52 +09:00
parent 3adcbb3528
commit af92484221

View file

@ -1651,7 +1651,7 @@ class Context
}
// If the first argument is '', reset existing parameters.
if (isset($args_list[0]) && !is_array($args_list[0]) && strval($args_list[0]) === '')
if (!is_array($args_list[0]) && strval($args_list[0]) === '')
{
array_shift($args_list);
$get_vars = array();