NobuNobu
nobun****@users*****
2006年 12月 30日 (土) 22:52:41 JST
Index: xoops2jp/html/class/xoopsmailer.php diff -u xoops2jp/html/class/xoopsmailer.php:1.2.8.3.2.2 xoops2jp/html/class/xoopsmailer.php:1.2.8.3.2.3 --- xoops2jp/html/class/xoopsmailer.php:1.2.8.3.2.2 Tue Dec 26 16:03:29 2006 +++ xoops2jp/html/class/xoopsmailer.php Sat Dec 30 22:52:41 2006 @@ -1,5 +1,5 @@ <?php -// $Id: xoopsmailer.php,v 1.2.8.3.2.2 2006/12/26 07:03:29 nobunobu Exp $ +// $Id: xoopsmailer.php,v 1.2.8.3.2.3 2006/12/30 13:52:41 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -469,7 +469,8 @@ function setToUsers(&$user) { if ( !is_array($user) ) { - if ( strtolower(get_class($user)) == "xoopsuser" ) { + //@ToDo $user should be either XoopsUser or UserUsersObject now + if ( in_array(strtolower(get_class($user)) , array("xoopsuser", "userusersobject"))) { array_push($this->toUsers, $user); } } else {