aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-19 22:57:23 -0700
committerredmatrix <git@macgirvin.com>2016-07-19 22:57:23 -0700
commita3e5307b93ea524781abd885e26a5d6c8f5c4c54 (patch)
tree2ef9760d8cd31ddc4a610e8a6f59efab5de1cbe7 /include/api.php
parentae6256f95a45dce44672bdc2e832c5c5757e0f20 (diff)
downloadvolse-hubzilla-a3e5307b93ea524781abd885e26a5d6c8f5c4c54.tar.gz
volse-hubzilla-a3e5307b93ea524781abd885e26a5d6c8f5c4c54.tar.bz2
volse-hubzilla-a3e5307b93ea524781abd885e26a5d6c8f5c4c54.zip
fix the forum detection in include/zot
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index df6aba957..8d475c5fa 100644
--- a/include/api.php
+++ b/include/api.php
@@ -282,7 +282,8 @@ require_once('include/api_auth.php');
intval($uinfo[0]['xchan_hash'])
);
$countitms = $r[0]['count'];
- $following = (($uinfo[0]['abook_myperms'] & PERMS_R_STREAM) ? true : false );
+
+ $following = ((get_abconfig($uinfo[0]['abook_channel'],$uinfo[0]['abook_xchan'],'my_perms','view_stream')) ? true : false );
}