Minahito
minah****@users*****
2006年 1月 24日 (火) 22:08:06 JST
Index: xoops2jp/html/include/notification_functions.php diff -u xoops2jp/html/include/notification_functions.php:1.2.8.1 xoops2jp/html/include/notification_functions.php:1.2.8.2 --- xoops2jp/html/include/notification_functions.php:1.2.8.1 Wed Oct 19 02:19:33 2005 +++ xoops2jp/html/include/notification_functions.php Tue Jan 24 22:08:06 2006 @@ -1,5 +1,5 @@ <?php -// $Id: notification_functions.php,v 1.2.8.1 2005/10/18 17:19:33 minahito Exp $ +// $Id: notification_functions.php,v 1.2.8.2 2006/01/24 13:08:06 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -279,7 +279,7 @@ $mod_config = $config_handler->getConfigsByCat(0,$module->getVar('mid')); $option_name = notificationGenerateConfig ($category, $event, 'option_name'); - if (in_array($option_name, $mod_config['notification_events'])) { + if (is_array($option_name) && in_array($option_name, $mod_config['notification_events'])) { return true; } $notification_handler =& xoops_gethandler('notification');