Minahito
minah****@users*****
2005年 6月 27日 (月) 23:45:31 JST
Index: xoops2jp/html/kernel/member.php diff -u xoops2jp/html/kernel/member.php:1.2 xoops2jp/html/kernel/member.php:1.2.10.1 --- xoops2jp/html/kernel/member.php:1.2 Fri Mar 18 21:52:14 2005 +++ xoops2jp/html/kernel/member.php Mon Jun 27 23:45:31 2005 @@ -1,5 +1,5 @@ <?php -// $Id: member.php,v 1.2 2005/03/18 12:52:14 onokazu Exp $ +// $Id: member.php,v 1.2.10.1 2005/06/27 14:45:31 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -323,7 +323,7 @@ */ function &loginUser($uname, $pwd) { - $criteria = new CriteriaCompo(new Criteria('uname', $uname)); + $criteria = new CriteriaCompo(new CriteriaString('uname', $uname)); $criteria->add(new Criteria('pass', md5($pwd))); $user =& $this->_uHandler->getObjects($criteria, false); if (!$user || count($user) != 1) {