mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Fix the problem set of the modules that were not set to the empty string
This commit is contained in:
parent
273c95b449
commit
bed962b542
1 changed files with 4 additions and 5 deletions
|
|
@ -55,20 +55,19 @@ class ncenterliteAdminController extends ncenterlite
|
|||
$config->mention_suffixes = array_map('trim', explode(',', $config->mention_suffixes));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($obj->disp_act == 'dispNcenterliteAdminSeletedmid')
|
||||
{
|
||||
if (!$config->hide_module_srls)
|
||||
if (!$obj->hide_module_srls)
|
||||
{
|
||||
$config->hide_module_srls = array();
|
||||
}
|
||||
if (!$config->admin_notify_module_srls)
|
||||
if (!$obj->admin_notify_module_srls)
|
||||
{
|
||||
$config->admin_notify_module_srls = array();
|
||||
}
|
||||
}
|
||||
|
||||
$output = $oModuleController->updateModuleConfig('ncenterlite', $config);
|
||||
$output = $oModuleController->insertModuleConfig('ncenterlite', $config);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
return new Object(-1, 'ncenterlite_msg_setting_error');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue