mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 13:32:16 +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
|
|
@ -58,17 +58,16 @@ class ncenterliteAdminController extends ncenterlite
|
||||||
|
|
||||||
if ($obj->disp_act == 'dispNcenterliteAdminSeletedmid')
|
if ($obj->disp_act == 'dispNcenterliteAdminSeletedmid')
|
||||||
{
|
{
|
||||||
if (!$config->hide_module_srls)
|
if (!$obj->hide_module_srls)
|
||||||
{
|
{
|
||||||
$config->hide_module_srls = array();
|
$config->hide_module_srls = array();
|
||||||
}
|
}
|
||||||
if (!$config->admin_notify_module_srls)
|
if (!$obj->admin_notify_module_srls)
|
||||||
{
|
{
|
||||||
$config->admin_notify_module_srls = array();
|
$config->admin_notify_module_srls = array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$output = $oModuleController->insertModuleConfig('ncenterlite', $config);
|
||||||
$output = $oModuleController->updateModuleConfig('ncenterlite', $config);
|
|
||||||
if(!$output->toBool())
|
if(!$output->toBool())
|
||||||
{
|
{
|
||||||
return new Object(-1, 'ncenterlite_msg_setting_error');
|
return new Object(-1, 'ncenterlite_msg_setting_error');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue