mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-21 10:48:59 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12380] Explicity state the order of sorting for login keys [ticket/12380] Sort Remember Me keys by last login time in UCP
This commit is contained in:
commit
dcd35c11ce
1 changed files with 2 additions and 1 deletions
|
@ -672,7 +672,8 @@ class ucp_profile
|
|||
|
||||
$sql = 'SELECT key_id, last_ip, last_login
|
||||
FROM ' . SESSIONS_KEYS_TABLE . '
|
||||
WHERE user_id = ' . (int) $user->data['user_id'];
|
||||
WHERE user_id = ' . (int) $user->data['user_id'] . '
|
||||
ORDER BY last_login ASC';
|
||||
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue