onokazu
onoka****@users*****
2005年 9月 5日 (月) 05:46:12 JST
Index: xoops2jp/html/modules/system/admin/users/main.php diff -u xoops2jp/html/modules/system/admin/users/main.php:1.5 xoops2jp/html/modules/system/admin/users/main.php:1.6 --- xoops2jp/html/modules/system/admin/users/main.php:1.5 Wed Aug 3 21:40:00 2005 +++ xoops2jp/html/modules/system/admin/users/main.php Mon Sep 5 05:46:11 2005 @@ -1,5 +1,5 @@ <?php -// $Id: main.php,v 1.5 2005/08/03 12:40:00 onokazu Exp $ +// $Id: main.php,v 1.6 2005/09/04 20:46:11 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -59,7 +59,7 @@ $member_handler =& xoops_gethandler('member'); $edituser =& $member_handler->getUser($uid); $myts =& MyTextSanitizer::getInstance(); - if ($edituser->getVar('uname') != $username && $member_handler->getUserCount(new Criteria('uname', addslashes($username))) > 0) { + if ($edituser->getVar('uname', 'n') != $username && $member_handler->getUserCount(new Criteria('uname', addslashes($username))) > 0) { xoops_cp_header(); echo 'User name '.htmlspecialchars($username).' already exists'; xoops_cp_footer();