onokazu
onoka****@users*****
2006年 2月 5日 (日) 14:19:53 JST
Index: xoops2jp/html/modules/system/blocks/system_blocks.php diff -u xoops2jp/html/modules/system/blocks/system_blocks.php:1.6.4.1 xoops2jp/html/modules/system/blocks/system_blocks.php:1.6.4.2 --- xoops2jp/html/modules/system/blocks/system_blocks.php:1.6.4.1 Tue Oct 25 11:52:05 2005 +++ xoops2jp/html/modules/system/blocks/system_blocks.php Sun Feb 5 14:19:53 2006 @@ -1,5 +1,5 @@ <?php -// $Id: system_blocks.php,v 1.6.4.1 2005/10/25 02:52:05 onokazu Exp $ +// $Id: system_blocks.php,v 1.6.4.2 2006/02/05 05:19:53 onokazu 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');