aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2014-11-17 03:20:20 -0800
committerHabeas Codice <habeascodice@federated.social>2014-11-17 03:20:20 -0800
commit333f3b17152475e780cc5a9fbedaf3b03dfb2cce (patch)
tree8aaa0a8cd7ddc00630c38a85121124e824e35e7b /mod/zfinger.php
parent2dbecf95454993cdf4996d2d65463d7759cd479b (diff)
parentb11ed7f88e4683315a4f5aa02692cb61facf32a7 (diff)
downloadvolse-hubzilla-333f3b17152475e780cc5a9fbedaf3b03dfb2cce.tar.gz
volse-hubzilla-333f3b17152475e780cc5a9fbedaf3b03dfb2cce.tar.bz2
volse-hubzilla-333f3b17152475e780cc5a9fbedaf3b03dfb2cce.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index a1a62dd3f..6f4febc6f 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -116,7 +116,7 @@ function zfinger_init(&$a) {
}
else {
// check if it has characteristics of a public forum based on custom permissions.
- $t = q("select abook_my_perms from abook where abook_channel = %d and (abook_flags & %d) limit 1",
+ $t = q("select abook_my_perms from abook where abook_channel = %d and (abook_flags & %d)>0 limit 1",
intval($e['channel_id']),
intval(ABOOK_FLAG_SELF)
);