Minahito
minah****@users*****
2005年 6月 28日 (火) 20:11:20 JST
Index: xoops2jp/html/kernel/member.php diff -u xoops2jp/html/kernel/member.php:1.2.10.2 xoops2jp/html/kernel/member.php:1.2.10.3 --- xoops2jp/html/kernel/member.php:1.2.10.2 Tue Jun 28 00:27:39 2005 +++ xoops2jp/html/kernel/member.php Tue Jun 28 20:11:19 2005 @@ -1,5 +1,5 @@ <?php -// $Id: member.php,v 1.2.10.2 2005/06/27 15:27:39 minahito Exp $ +// $Id: member.php,v 1.2.10.3 2005/06/28 11:11:19 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -323,8 +323,8 @@ */ function &loginUser($uname, $pwd) { - $criteria = new CriteriaCompo(new CriteriaString('uname', $uname)); - $criteria->add(new CriteriaString('pass', md5($pwd))); + $criteria = new CriteriaCompo(new Criteria('uname', $uname)); + $criteria->add(new Criteria('pass', md5($pwd))); $user =& $this->_uHandler->getObjects($criteria, false); if (!$user || count($user) != 1) { return false; @@ -341,8 +341,8 @@ */ function &loginUserMd5($uname, $md5pwd) { - $criteria = new CriteriaCompo(new CriteriaString('uname', $uname)); - $criteria->add(new CriteriaString('pass', $md5pwd)); + $criteria = new CriteriaCompo(new Criteria('uname', $uname)); + $criteria->add(new Criteria('pass', $md5pwd)); $user =& $this->_uHandler->getObjects($criteria, false); if (!$user || count($user) != 1) { return false;