fix the forum detection in include/zot

This commit is contained in:
redmatrix
2016-07-19 22:57:23 -07:00
parent ae6256f95a
commit a3e5307b93
3 changed files with 18 additions and 7 deletions

View File

@@ -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 );
}