[xoops-cvslog 380] CVS update: xoops2jp/html/modules/system/admin/users

Back to archive index

NobuNobu nobun****@users*****
2005年 8月 28日 (日) 22:46:13 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.5.2.1
--- 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	Sun Aug 28 22:46:13 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.5.2.1 2005/08/28 13:46:13 nobunobu 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();


xoops-cvslog メーリングリストの案内
Back to archive index