diff options
Diffstat (limited to '')
-rw-r--r-- | admin/search.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/search.php b/admin/search.php index 485f8322a..f1716ff84 100644 --- a/admin/search.php +++ b/admin/search.php @@ -73,7 +73,8 @@ if ( !empty($search_match) ) $sql = "SELECT username FROM " . USERS_TABLE . " WHERE username LIKE '" . str_replace("\'", "''", $username_search) . "' - ORDER BY username"; + AND id <> ".ANONYMOUS." + ORDER BY username"; if ( !($result = pwg_query($sql)) ) { die('Could not obtain search results'); |