From ce185663d4b70d317b6fb551048ab85f11574eb9 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 21 Nov 2001 16:27:43 +0000 Subject: [PATCH] Order of username in username search was missing git-svn-id: file:///svn/phpbb/trunk@1408 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 3f2424017a..0f4961d6e2 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -886,7 +886,8 @@ function username_search($search_match, $is_inline_review = 0, $default_list = " $sql = "SELECT username FROM " . USERS_TABLE . " - WHERE username LIKE '$username_search'"; + WHERE username LIKE '$username_search' + ORDER BY username"; if( !$result = $db->sql_query($sql) ) { message_die(GENERAL_ERROR, "Couldn't obtain search results", "", __LINE__, __FILE__, $sql);