Minahito
minah****@users*****
2006年 1月 2日 (月) 21:40:55 JST
Index: xoops2jp/html/modules/system/blocks/system_blocks.php diff -u xoops2jp/html/modules/system/blocks/system_blocks.php:1.2.8.4 xoops2jp/html/modules/system/blocks/system_blocks.php:1.2.8.5 --- xoops2jp/html/modules/system/blocks/system_blocks.php:1.2.8.4 Tue Nov 8 18:56:19 2005 +++ xoops2jp/html/modules/system/blocks/system_blocks.php Mon Jan 2 21:40:55 2006 @@ -1,5 +1,5 @@ <?php -// $Id: system_blocks.php,v 1.2.8.4 2005/11/08 09:56:19 minahito Exp $ +// $Id: system_blocks.php,v 1.2.8.5 2006/01/02 12:40:55 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -116,7 +116,7 @@ $modules =& $module_handler->getObjects($criteria, true); $moduleperm_handler =& xoops_gethandler('groupperm'); $groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; - $read_allowed =& $moduleperm_handler->getItemIds('module_read', $groups); + $read_allowed = $moduleperm_handler->getItemIds('module_read', $groups); foreach (array_keys($modules) as $i) { if (in_array($i, $read_allowed)) { $block['modules'][$i]['name'] = $modules[$i]->getVar('name');