From 60233a734e266c5f5a0bc2a613dc7afe7c238c5a Mon Sep 17 00:00:00 2001 From: 8chan Date: Sat, 17 May 2014 19:50:28 +0000 Subject: [PATCH] Fix order in ?/users --- inc/mod/pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 2a31d00a..b96c88f5 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1870,7 +1870,7 @@ function mod_users() { FROM ``modlogs`` GROUP BY `mod` ) AS ml2 USING (`mod`, time) - ) AS ml ON m.id = ml.`mod`;") or error(db_error()); + ) AS ml ON m.id = ml.`mod` ORDER BY ``m``.`type` DESC;") or error(db_error()); $users = $query->fetchAll(PDO::FETCH_ASSOC); foreach ($users as &$user) {