aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-21 16:27:43 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-21 16:27:43 +0000
commitce185663d4b70d317b6fb551048ab85f11574eb9 (patch)
treeb3585713a91d3841139fba3e97857ddf057bb48f /phpBB/includes/functions.php
parentbc5d1514d4ee63d1f3fd141f424a0ad8f97dcf5a (diff)
downloadforums-ce185663d4b70d317b6fb551048ab85f11574eb9.tar
forums-ce185663d4b70d317b6fb551048ab85f11574eb9.tar.gz
forums-ce185663d4b70d317b6fb551048ab85f11574eb9.tar.bz2
forums-ce185663d4b70d317b6fb551048ab85f11574eb9.tar.xz
forums-ce185663d4b70d317b6fb551048ab85f11574eb9.zip
Order of username in username search was missing
git-svn-id: file:///svn/phpbb/trunk@1408 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 2 insertions, 1 deletions
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);