From 818a33727c209892fb676532d6da5cab8a53504d Mon Sep 17 00:00:00 2001 From: Git Date: Tue, 26 Nov 2013 08:01:14 +0000 Subject: [PATCH] Empty commit --- sections/reports/stats.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sections/reports/stats.php b/sections/reports/stats.php index 69e1c714..84371c63 100644 --- a/sections/reports/stats.php +++ b/sections/reports/stats.php @@ -152,12 +152,15 @@
query(" SELECT u.Username, COUNT(f.LastPostAuthorID) as Trashed FROM forums_topics AS f LEFT JOIN users_main AS u ON u.ID = f.LastPostAuthorID - WHERE f.ForumID = 12 + WHERE f.ForumID IN ($TrashForumIDs) GROUP BY f.LastPostAuthorID ORDER BY Trashed DESC LIMIT 30");