Minahito
minah****@users*****
2006年 9月 25日 (月) 18:35:12 JST
Index: xoops2jp/html/modules/base/blocks/legacy_siteinfo.php diff -u xoops2jp/html/modules/base/blocks/legacy_siteinfo.php:1.1.2.1 xoops2jp/html/modules/base/blocks/legacy_siteinfo.php:1.1.2.2 --- xoops2jp/html/modules/base/blocks/legacy_siteinfo.php:1.1.2.1 Sun Mar 26 15:07:46 2006 +++ xoops2jp/html/modules/base/blocks/legacy_siteinfo.php Mon Sep 25 18:35:12 2006 @@ -15,7 +15,7 @@ $prev_caption = $userinfo['groupname']; $block['groups'][$i]['name'] = $myts->htmlSpecialChars($userinfo['groupname']); } - if ($xoopsUser != '') { + if (is_object($xoopsUser)) { $block['groups'][$i]['users'][] = array('id' => $userinfo['uid'], 'name' => $myts->htmlspecialchars($userinfo['uname']), 'msglink' => "<a href=\"javascript:openWithSelfMain('".XOOPS_URL."/pmlite.php?send2=1&to_userid=".$userinfo['uid']."','pmlite',450,370);\"><img src=\"".XOOPS_URL."/images/icons/pm_small.gif\" border=\"0\" width=\"27\" height=\"17\" alt=\"\" /></a>", 'avatar' => XOOPS_UPLOAD_URL.'/'.$userinfo['user_avatar']); } else { if ($userinfo['user_viewemail']) {