From 060be53797af37c0dbe05b8f0fa8393f44a32cfc Mon Sep 17 00:00:00 2001 From: Michael Save Date: Thu, 24 Jan 2013 19:25:07 +1100 Subject: Show "most recent" in anti-spam debug page --- inc/mod/pages.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/mod/pages.php') diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 70f2e964..19502f60 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1764,6 +1764,9 @@ function mod_debug_antispam() { $query = query('SELECT * FROM `antispam` ' . ($where ? "WHERE $where" : '') . ' ORDER BY `passed` DESC LIMIT 40') or error(db_error()); $args['top'] = $query->fetchAll(PDO::FETCH_ASSOC); + $query = query('SELECT * FROM `antispam` ' . ($where ? "WHERE $where" : '') . ' ORDER BY `created` DESC LIMIT 20') or error(db_error()); + $args['recent'] = $query->fetchAll(PDO::FETCH_ASSOC); + mod_page(_('Debug: Anti-spam'), 'mod/debug/antispam.html', $args); } -- cgit v1.3