summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2013-01-24 19:25:07 +1100
committerMichael Save <savetheinternet@tinyboard.org>2013-01-24 19:25:07 +1100
commit060be53797af37c0dbe05b8f0fa8393f44a32cfc (patch)
treebea4c84d1b88479f34641d02b3528e455a8f9968 /inc
parent85710249b705c455b2243f450765e458c14cdba6 (diff)
Show "most recent" in anti-spam debug page
Diffstat (limited to 'inc')
-rw-r--r--inc/mod/pages.php3
1 files changed, 3 insertions, 0 deletions
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);
}