onokazu
onoka****@users*****
2006年 2月 6日 (月) 14:43:58 JST
Index: xoops2jp/html/modules/system/admin/mailusers/mailusers.php diff -u xoops2jp/html/modules/system/admin/mailusers/mailusers.php:1.4.6.1 xoops2jp/html/modules/system/admin/mailusers/mailusers.php:1.4.6.2 --- xoops2jp/html/modules/system/admin/mailusers/mailusers.php:1.4.6.1 Sun Feb 5 14:19:53 2006 +++ xoops2jp/html/modules/system/admin/mailusers/mailusers.php Mon Feb 6 14:43:58 2006 @@ -1,5 +1,5 @@ <?php -// $Id: mailusers.php,v 1.4.6.1 2006/02/05 05:19:53 onokazu Exp $ +// $Id: mailusers.php,v 1.4.6.2 2006/02/06 05:43:58 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -72,7 +72,7 @@ $member_handler =& xoops_gethandler('member'); $user_list = array(); foreach ($_POST['mail_to_group'] as $groupid ) { - $members =& $member_handler->getUsersByGroup($groupid, false); + $members = $member_handler->getUsersByGroup($groupid, false); // Mith: Changed this to not fetch user objects with getUsersByGroup // as it is resource-intensive and all we want is the userIDs $user_list = array_merge($members, $user_list);