diff --git a/modules/ncenterlite/skins/default/userconfig.html b/modules/ncenterlite/skins/default/userconfig.html index d5e53e39f..0fd98a533 100644 --- a/modules/ncenterlite/skins/default/userconfig.html +++ b/modules/ncenterlite/skins/default/userconfig.html @@ -6,7 +6,6 @@

{$XE_VALIDATOR_MESSAGE}

-
diff --git a/modules/ncenterlite/skins/default_bottom/userconfig.html b/modules/ncenterlite/skins/default_bottom/userconfig.html index c8b75f028..0fd98a533 100644 --- a/modules/ncenterlite/skins/default_bottom/userconfig.html +++ b/modules/ncenterlite/skins/default_bottom/userconfig.html @@ -6,7 +6,6 @@

{$XE_VALIDATOR_MESSAGE}

- @@ -27,19 +26,19 @@
{@ $available = isset($module_config->use[$notify_type]['web']) && $module_config->use[$notify_type]['web'] !== 'N'} - {@ $selected = in_array('web', $uc[$notify_type])} + {@ $selected = (is_array($uc[$notify_type]) && in_array('web', $uc[$notify_type]))} {@ $available = isset($module_config->use[$notify_type]['mail']) && $module_config->use[$notify_type]['mail'] !== 'N'} - {@ $selected = in_array('mail', $uc[$notify_type])} + {@ $selected = (is_array($uc[$notify_type]) && in_array('mail', $uc[$notify_type]))} {@ $available = isset($module_config->use[$notify_type]['sms']) && $module_config->use[$notify_type]['sms'] !== 'N'} - {@ $selected = in_array('sms', $uc[$notify_type])} + {@ $selected = (is_array($uc[$notify_type]) && in_array('sms', $uc[$notify_type]))} {@ $available = isset($module_config->use[$notify_type]['push']) && $module_config->use[$notify_type]['push'] !== 'N'} - {@ $selected = in_array('push', $uc[$notify_type])} + {@ $selected = (is_array($uc[$notify_type]) && in_array('push', $uc[$notify_type]))}

{sprintf($lang->get('ncenterlite_' . $notify_type . '_noti_about'), $logged_info->nick_name)}