diff --git a/public/index.php b/public/index.php index 378a740c..52b16205 100644 --- a/public/index.php +++ b/public/index.php @@ -88,7 +88,7 @@ $onlineUsers = cache_get('index:online_users:v1', function () { LEFT JOIN `msz_roles` as r ON r.`role_id` = u.`display_role` WHERE u.`user_active` >= DATE_SUB(NOW(), INTERVAL 5 MINUTE) - ORDER BY RAND() + ORDER BY u.`user_active` DESC LIMIT 104 ')->fetchAll(PDO::FETCH_ASSOC); }, 30);