aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-08 06:19:48 +1000
committerredmatrix <redmatrix@redmatrix.me>2015-07-08 06:19:48 +1000
commit75469a61bfdfcc2639a92d9297425f49ef4ae021 (patch)
tree657eb94f3fedf1c0185b7f3df619066650cfeb1f /mod
parent862bfbdd2bc60b201918d02351f2591ccf5aea04 (diff)
parent53f4b260cfe1829446627c7880c6a798e9b493b2 (diff)
downloadvolse-hubzilla-75469a61bfdfcc2639a92d9297425f49ef4ae021.tar.gz
volse-hubzilla-75469a61bfdfcc2639a92d9297425f49ef4ae021.tar.bz2
volse-hubzilla-75469a61bfdfcc2639a92d9297425f49ef4ae021.zip
Merge pull request #4 from git-marijus/master
abook_pending should probably be 1 in this place
Diffstat (limited to 'mod')
-rw-r--r--mod/manage.php2
1 files changed, 1 insertions, 1 deletions
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'])
);