onokazu
onoka****@users*****
2006年 5月 1日 (月) 11:37:31 JST
Index: xoops2jp/html/modules/system/blocks/system_blocks.php diff -u xoops2jp/html/modules/system/blocks/system_blocks.php:1.7 xoops2jp/html/modules/system/blocks/system_blocks.php:1.8 --- xoops2jp/html/modules/system/blocks/system_blocks.php:1.7 Tue Oct 25 11:57:28 2005 +++ xoops2jp/html/modules/system/blocks/system_blocks.php Mon May 1 11:37:30 2006 @@ -1,5 +1,5 @@ <?php -// $Id: system_blocks.php,v 1.7 2005/10/25 02:57:28 onokazu Exp $ +// $Id: system_blocks.php,v 1.8 2006/05/01 02:37:30 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');