mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix PHP 8.x error when getUrl() is called with weird parameters
This commit is contained in:
parent
aa78a03b99
commit
3adcbb3528
1 changed files with 1 additions and 1 deletions
|
|
@ -1651,7 +1651,7 @@ class Context
|
|||
}
|
||||
|
||||
// If the first argument is '', reset existing parameters.
|
||||
if (!is_array($args_list[0]) && strval($args_list[0]) === '')
|
||||
if (isset($args_list[0]) && !is_array($args_list[0]) && strval($args_list[0]) === '')
|
||||
{
|
||||
array_shift($args_list);
|
||||
$get_vars = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue