aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2014-11-13 13:58:04 -0800
committerHabeas Codice <habeascodice@federated.social>2014-11-13 13:58:04 -0800
commita2d9dd18821d4e7717438f4addb41ed310819b8b (patch)
treeb14060b8ceffd26cdb0df347c034ee468b40abde /mod/zfinger.php
parentac27db22c18ee7a82a52cbadb3efe2760b910499 (diff)
downloadvolse-hubzilla-a2d9dd18821d4e7717438f4addb41ed310819b8b.tar.gz
volse-hubzilla-a2d9dd18821d4e7717438f4addb41ed310819b8b.tar.bz2
volse-hubzilla-a2d9dd18821d4e7717438f4addb41ed310819b8b.zip
violates new sql standards
missed during merge
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)
);