diff -r 0bc945385d74 -r 871f17a0d27d plugins/SpecialUserFuncs.php --- a/plugins/SpecialUserFuncs.php Fri Jul 30 21:31:30 2010 -0400 +++ b/plugins/SpecialUserFuncs.php Fri Jul 30 21:32:05 2010 -0400 @@ -1616,13 +1616,13 @@ if ( isset($_GET['finduser']) ) { $finduser = str_replace(array( '%', '_'), - array('\\%', '\\_'), - $_GET['finduser']); + array('\\%', '\\_'), + $_GET['finduser']); $finduser = str_replace(array('*', '?'), - array('%', '_'), - $finduser); + array('%', '_'), + $finduser); $finduser = $db->escape($finduser); - $username_where = ENANO_SQLFUNC_LOWERCASE . '(u.username) LIKE \'%' . strtolower($finduser) . '%\''; + $username_where = ENANO_SQLFUNC_LOWERCASE . '(u.username) LIKE \'%' . strtolower($finduser) . '%\' OR u.username LIKE \'' . $finduser . '\''; $finduser_url = 'finduser=' . rawurlencode($_GET['finduser']) . '&'; } else