diff options
author | Matt Friedman <maf675@gmail.com> | 2014-04-10 09:04:35 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2014-04-10 09:04:35 -0700 |
commit | 49885e55e74335a6e2a1135bd00f23b01849ae80 (patch) | |
tree | 17b6e482a1cc164023cbf696fa2da05d90cb3c6d | |
parent | 2284e2897f2573467a20cb90579e7b4bb8af392c (diff) | |
download | forums-49885e55e74335a6e2a1135bd00f23b01849ae80.tar forums-49885e55e74335a6e2a1135bd00f23b01849ae80.tar.gz forums-49885e55e74335a6e2a1135bd00f23b01849ae80.tar.bz2 forums-49885e55e74335a6e2a1135bd00f23b01849ae80.tar.xz forums-49885e55e74335a6e2a1135bd00f23b01849ae80.zip |
[ticket/12380] Sort Remember Me keys by last login time in UCP
PHPBB3-12380
-rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index a14f79f9fd..fc1b7153d2 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -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'; $result = $db->sql_query($sql); |