aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php
index a54a4b0b8..98b2f4266 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -202,7 +202,7 @@ function admin_page_summary(&$a) {
$r = q("SELECT COUNT(id) as `count` FROM `register`");
$pending = $r[0]['count'];
- $r = q("select count(*) as total from outq");
+ $r = q("select count(*) as total from outq where outq_delivered = 0");
$queue = (($r) ? $r[0]['total'] : 0);
// We can do better, but this is a quick queue status