From 53f4b260cfe1829446627c7880c6a798e9b493b2 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 6 Jul 2015 22:48:12 +0200 Subject: abook_pending should probably be 1 in this place --- mod/manage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/manage.php b/mod/manage.php index a7327697d..b609ede44 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -70,7 +70,7 @@ function manage_content(&$a) { } - $intr = q("SELECT COUNT(abook.abook_id) AS total FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash where abook_channel = %d and abook_pending = 0 and abook_self = 0 and abook_ignored = 0 and xchan_deleted = 0 and xchan_orphan = 0 ", + $intr = q("SELECT COUNT(abook.abook_id) AS total FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash where abook_channel = %d and abook_pending = 1 and abook_self = 0 and abook_ignored = 0 and xchan_deleted = 0 and xchan_orphan = 0 ", intval($channels[$x]['channel_id']) ); -- cgit v1.2.3