If input an empty set then return the settings to the empty string.

This commit is contained in:
BJRambo 2016-03-29 11:35:58 +09:00
parent 6b3a1570d7
commit 60187e4dfb

View file

@ -43,6 +43,10 @@ class ncenterliteAdminController extends ncenterlite
{
$config->{$val} = $obj->{$val};
}
if($obj->{$val} == null)
{
$config->{$val} = null;
}
if($obj->disp_act == 'dispNcenterliteAdminSeletedmid' && !$obj->hide_module_srls)
{
$config->hide_module_srls = array();