plugins/admin/UserManager.php
changeset 145 6f0bbf88c325
parent 142 ca9118d9c0f2
child 166 d53cc29308f4
child 224 6a4573507ff8
--- a/plugins/admin/UserManager.php	Mon Sep 24 21:29:19 2007 -0400
+++ b/plugins/admin/UserManager.php	Mon Sep 24 23:59:31 2007 -0400
@@ -286,7 +286,7 @@
     $q = $db->sql_query('SELECT u.user_id AS authoritative_uid, u.username, u.email, u.real_name, u.signature, u.account_active, u.user_level, x.* FROM '.table_prefix.'users AS u
                            LEFT JOIN '.table_prefix.'users_extra AS x
                              ON ( u.user_id = x.user_id OR x.user_id IS NULL )
-                           WHERE ( lcase(u.username) = \'' . $db->escape(strtolower($username)) . '\' OR u.username = \'' . $db->escape($username) . '\' ) AND user_id != 1;');
+                           WHERE ( lcase(u.username) = \'' . $db->escape(strtolower($username)) . '\' OR u.username = \'' . $db->escape($username) . '\' ) AND u.user_id != 1;');
     if ( !$q )
       $db->_die();