aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-11 02:03:37 -0700
committerfriendica <info@friendica.com>2013-09-11 02:03:37 -0700
commitd593b40d9a31d00ec4374c60d509812996ff32d9 (patch)
treeab2e19d48bd9fdb21643972c7e10d1f504d76297 /include
parent5fbe4c187695a02118039e3056ee471e93c858b1 (diff)
downloadvolse-hubzilla-d593b40d9a31d00ec4374c60d509812996ff32d9.tar.gz
volse-hubzilla-d593b40d9a31d00ec4374c60d509812996ff32d9.tar.bz2
volse-hubzilla-d593b40d9a31d00ec4374c60d509812996ff32d9.zip
assuming this doesn't blow up the internet like the last fix - this is a very old bug that's been reported time and time again and nobody every bothered to debug or even report it somewhere where we could monitor it. It's buried somewhere in my stream, but basically is "things don't work right if you've got 'everybody in my address book' permissions" on "can send me their channel stream and posts". I think this is Michelle's problem and anybody else who has en empty matrix after making lots of connections.
Diffstat (limited to 'include')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index dd6d1842c..9e8dd3dfa 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -955,7 +955,7 @@ function public_recips($msg) {
$r = array();
$x = q("select channel_hash as hash from channel left join abook on abook_channel = channel_id where abook_xchan = '%s'
- and (( " . $col . " & " . PERMS_SPECIFIC . " ) OR ( " . $col . " & " . PERMS_CONTACTS . " )) and ( abook_my_perms & " . $field . " ) ",
+ and (( " . $col . " & " . PERMS_SPECIFIC . " ) and ( abook_my_perms & " . $field . " )) OR ( " . $col . " & " . PERMS_CONTACTS . " ) ",
dbesc($msg['notify']['sender']['hash'])
);