mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Fix deprecation notices in PHP 8.2 #2064
This commit is contained in:
parent
8e2c4b3ef9
commit
c07efe7905
7 changed files with 15 additions and 14 deletions
|
|
@ -107,7 +107,8 @@ class HTMLDisplayHandler
|
|||
'dispPageAdminMobileContentModify' => true,
|
||||
'dispPageAdminMobileContent' => true,
|
||||
);
|
||||
if(Context::get('module') != 'admin' && strpos(Context::get('act'), 'Admin') > 0 && !isset($x_exclude_actions[Context::get('act')]))
|
||||
$current_act = Context::get('act') ?? '';
|
||||
if(Context::get('module') != 'admin' && strpos($current_act, 'Admin') !== false && !isset($x_exclude_actions[$current_act]))
|
||||
{
|
||||
$output = '<div class="x">' . $output . '</div>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue