diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2013-01-24 19:25:07 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2013-01-24 19:25:07 +1100 |
| commit | 060be53797af37c0dbe05b8f0fa8393f44a32cfc (patch) | |
| tree | bea4c84d1b88479f34641d02b3528e455a8f9968 /inc | |
| parent | 85710249b705c455b2243f450765e458c14cdba6 (diff) | |
Show "most recent" in anti-spam debug page
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/mod/pages.php | 3 |
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); } |
