diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 1357c444..d1bcf939 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -104,6 +104,9 @@ function mod_dashboard() { $query = query('SELECT COUNT(*) FROM ``reports``') or error(db_error($query)); $args['reports'] = $query->fetchColumn(); + $query = query('SELECT COUNT(*) FROM ``ban_appeals``') or error(db_error($query)); + $args['appeals'] = $query->fetchColumn(); + if ($mod['type'] >= ADMIN && $config['check_updates']) { if (!$config['version']) error(_('Could not find current version! (Check .installed)')); diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html index d3b05da6..945b19fe 100644 --- a/templates/mod/dashboard.html +++ b/templates/mod/dashboard.html @@ -91,7 +91,9 @@