mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/12380] Explicity state the order of sorting for login keys
PHPBB3-12380
This commit is contained in:
@@ -673,7 +673,7 @@ class ucp_profile
|
|||||||
$sql = 'SELECT key_id, last_ip, last_login
|
$sql = 'SELECT key_id, last_ip, last_login
|
||||||
FROM ' . SESSIONS_KEYS_TABLE . '
|
FROM ' . SESSIONS_KEYS_TABLE . '
|
||||||
WHERE user_id = ' . (int) $user->data['user_id'] . '
|
WHERE user_id = ' . (int) $user->data['user_id'] . '
|
||||||
ORDER BY last_login';
|
ORDER BY last_login ASC';
|
||||||
|
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user