Skip to content

Commit

Permalink
Added missing sorting
Browse files Browse the repository at this point in the history
Yep, I don't know how I missed that...
  • Loading branch information
Destroy666x committed Jan 27, 2016
1 parent 37f70c3 commit 33b3ed0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upload/inc/plugins/moderation_actions_preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ function moderation_actions_preview_showthread(&$post)
FROM {$db->table_prefix}moderatorlog m
LEFT JOIN {$db->table_prefix}users u ON(u.uid = m.uid)
WHERE m.tid = {$post['tid']}{$aftsql}{$befsql}
ORDER BY m.dateline
");

while($log = $db->fetch_array($q))
Expand Down Expand Up @@ -391,6 +392,7 @@ function moderation_actions_preview_announcement(&$post)
FROM {$db->table_prefix}moderatorlog m
LEFT JOIN {$db->table_prefix}users u ON(u.uid = m.uid)
WHERE m.data LIKE '%aid%'
ORDER BY m.dateline
");

while($log = $db->fetch_array($q))
Expand Down

0 comments on commit 33b3ed0

Please sign in to comment.