1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-18 03:37:35 +01:00

Fix order in ?/users

This commit is contained in:
8chan 2014-05-17 19:50:28 +00:00
parent 8cdd807af7
commit 60233a734e

View File

@ -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) {