mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Merge pull request #548 from bjrambo/pr/fix-ncenterlite-config
모듈설정이 빈값으로 설정되지 않던 문제고침.
This commit is contained in:
commit
7aab381916
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