mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix fatal error when some important variables contain non-scalar values
This commit is contained in:
parent
7fce9fcc39
commit
83a42081fa
2 changed files with 7 additions and 7 deletions
|
|
@ -105,7 +105,7 @@ class HTMLDisplayHandler
|
|||
'dispPageAdminMobileContentModify' => true,
|
||||
'dispPageAdminMobileContent' => true,
|
||||
);
|
||||
$current_act = Context::get('act') ?? '';
|
||||
$current_act = strval(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