mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 12:30:42 +02:00
Order of username in username search was missing
git-svn-id: file:///svn/phpbb/trunk@1408 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -886,7 +886,8 @@ function username_search($search_match, $is_inline_review = 0, $default_list = "
|
|||||||
|
|
||||||
$sql = "SELECT username
|
$sql = "SELECT username
|
||||||
FROM " . USERS_TABLE . "
|
FROM " . USERS_TABLE . "
|
||||||
WHERE username LIKE '$username_search'";
|
WHERE username LIKE '$username_search'
|
||||||
|
ORDER BY username";
|
||||||
if( !$result = $db->sql_query($sql) )
|
if( !$result = $db->sql_query($sql) )
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Couldn't obtain search results", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "Couldn't obtain search results", "", __LINE__, __FILE__, $sql);
|
||||||
|
Reference in New Issue
Block a user