aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-29 23:06:03 -0800
committerfriendica <info@friendica.com>2012-11-29 23:06:03 -0800
commitf7ff2de1321ede230555b1c717a70608246afc85 (patch)
tree31c37e275850e3951cc17557eaf7921240604a68 /include/items.php
parentc079133719f7f495a7bbc639577e1f6b3292b765 (diff)
downloadvolse-hubzilla-f7ff2de1321ede230555b1c717a70608246afc85.tar.gz
volse-hubzilla-f7ff2de1321ede230555b1c717a70608246afc85.tar.bz2
volse-hubzilla-f7ff2de1321ede230555b1c717a70608246afc85.zip
add pending check on group queries
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index a0cc64fc2..493a4e2f2 100755
--- a/include/items.php
+++ b/include/items.php
@@ -22,9 +22,10 @@ function collect_recipients($item,&$private) {
}
else {
$recipients = array();
- $r = q("select * from abook where abook_channel = %d and not (abook_flags & %d) ",
+ $r = q("select * from abook where abook_channel = %d and not (abook_flags & %d) and not (abook_flags & %d)",
intval($item['uid']),
- intval(ABOOK_FLAG_SELF)
+ intval(ABOOK_FLAG_SELF),
+ intval(ABOOK_FLAG_PENDING)
);
if($r) {
foreach($r as $rr) {