Minahito
minah****@users*****
2006年 11月 13日 (月) 19:41:27 JST
Index: xoops2jp/html/modules/legacy/actions/NotifyListAction.class.php diff -u xoops2jp/html/modules/legacy/actions/NotifyListAction.class.php:1.1.2.2 xoops2jp/html/modules/legacy/actions/NotifyListAction.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/actions/NotifyListAction.class.php:1.1.2.2 Sun Oct 15 00:43:08 2006 +++ xoops2jp/html/modules/legacy/actions/NotifyListAction.class.php Mon Nov 13 19:41:26 2006 @@ -49,12 +49,17 @@ $prev_item = -1; foreach ($notificationArr as $notify) { $t_modid = $notify->get('not_modid'); + + $module =& $moduleHandler->get($t_modid); + if (!is_object($module)) { + continue; + } + if ($t_modid != $prev_modid) { $prev_modid = $t_modid; $prev_category = -1; $prev_item = -1; - $module =& $moduleHandler->get($t_modid); $this->mModules[$t_modid] = array ( 'id' => $t_modid, 'name' => $module->getShow('name'),