NobuNobu
nobun****@users*****
2006年 5月 16日 (火) 22:25:07 JST
Index: xoops2jp/html/modules/system/admin.php diff -u xoops2jp/html/modules/system/admin.php:1.2 xoops2jp/html/modules/system/admin.php:1.2.8.1 --- xoops2jp/html/modules/system/admin.php:1.2 Fri Mar 18 21:52:38 2005 +++ xoops2jp/html/modules/system/admin.php Tue May 16 22:25:07 2006 @@ -1,5 +1,5 @@ <?php -// $Id: admin.php,v 1.2 2005/03/18 12:52:38 onokazu Exp $ +// $Id: admin.php,v 1.2.8.1 2006/05/16 13:25:07 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -78,7 +78,7 @@ $category = !empty($modversion['category']) ? intval($modversion['category']) : 0; unset($modversion); if ($category > 0) { - $groups =& $xoopsUser->getGroups(); + $groups = $xoopsUser->getGroups(); if (in_array(XOOPS_GROUP_ADMIN, $groups) || false != $sysperm_handler->checkRight('system_admin', $category, $groups, $xoopsModule->getVar('mid'))){ if (file_exists(XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php")) { include_once XOOPS_ROOT_PATH."/modules/system/admin/".$fct."/main.php";