mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 07:12:15 +09:00
Fix misc warnings in PHP 8.0
This commit is contained in:
parent
b5cdd1212e
commit
855e12a5de
7 changed files with 40 additions and 20 deletions
|
|
@ -374,7 +374,7 @@ class Router
|
|||
}
|
||||
|
||||
// Try the generic mid/act pattern.
|
||||
if ($prefix_type !== 'module' || !isset(self::$_except_modules[$args[$prefix_type]]))
|
||||
if (($prefix_type !== 'module' || !isset(self::$_except_modules[$args[$prefix_type]])) && isset($args['act']))
|
||||
{
|
||||
self::$_route_cache[$rewrite_level][$keys_string] = '$' . $prefix_type . '/$act';
|
||||
$internal_url = $args['act'] . (count($args2) ? ('?' . http_build_query($args2)) : '');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue