mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix warnings in PHP 8.x
This commit is contained in:
parent
4505388e47
commit
78ba527c78
2 changed files with 2 additions and 2 deletions
|
|
@ -921,7 +921,7 @@ class Context
|
|||
{
|
||||
return $matches[1];
|
||||
}
|
||||
}, $string);
|
||||
}, strval($string));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -494,7 +494,7 @@ class HTMLDisplayHandler
|
|||
{
|
||||
$canonical_url = getFullUrl('', 'mid', $current_module_info->mid, 'page', $page);
|
||||
}
|
||||
elseif ($current_module_info->module_srl == $site_module_info->module_srl)
|
||||
elseif (isset($current_module_info->module_srl) && $current_module_info->module_srl == ($site_module_info->module_srl ?? 0))
|
||||
{
|
||||
$canonical_url = getFullUrl('');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue