mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix ncenterlite config not saved when all types of notifications are unchecked #2443
This commit is contained in:
parent
6a93e0c12d
commit
7539d18c60
1 changed files with 2 additions and 5 deletions
|
|
@ -57,12 +57,9 @@ class NcenterliteAdminController extends Ncenterlite
|
|||
}
|
||||
}
|
||||
|
||||
if ($obj->disp_act == 'dispNcenterliteAdminNotifyConfig')
|
||||
if ($obj->disp_act === 'dispNcenterliteAdminConfig')
|
||||
{
|
||||
if (!$obj->use)
|
||||
{
|
||||
$config->use = array();
|
||||
}
|
||||
$config->{'use'} = $obj->{'use'} ?? [];
|
||||
}
|
||||
|
||||
if ($obj->disp_act == 'dispNcenterliteAdminAdvancedconfig')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue