Merge pull request #4 from git-marijus/master

abook_pending should probably be 1 in this place
This commit is contained in:
redmatrix 2015-07-08 06:19:48 +10:00
commit 75469a61bf

View File

@ -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']) intval($channels[$x]['channel_id'])
); );