As title, there never comes search result, which is because there is sth wrong with table names in query string. Please refer to the patch below:
Index: users.php
===================================================================
--- users.php (revision 1251)
+++ users.php (working copy)
@@ -148,11 +148,11 @@
if ($filter != '') {
$filter = "%$filter%";
- $users_without_privileges = $wpdb->get_col(
+ $users_without_privileges = $wpdb->get_col( //PEAK
"SELECT DISTINCT ID
- FROM users
- INNER JOIN usermeta um_filter ON (ID = um_filter.user_id )
- INNER JOIN usermeta um_exclude ON (ID != um_exclude.user_id )
+ FROM $wpdb->users
+ INNER JOIN $wpdb->usermeta um_filter ON (ID = um_filter.user_id )
+ INNER JOIN $wpdb->usermeta um_exclude ON (ID != um_exclude.user_id )
WHERE
( um_exclude.blog = '$blog' ) AND
( user_login LIKE '$filter' OR