diff options
author | Thomas Willingham <founder@kakste.com> | 2013-09-21 19:23:21 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-09-21 19:23:21 +0100 |
commit | 2c9c206808fec2212141f8630ce534ed29a47037 (patch) | |
tree | 59dec8ae7a3f27f493ded3b844563a2ccdd9d01f | |
parent | df8035344fed17950cd129cf42bb1aab210dc334 (diff) | |
download | volse-hubzilla-2c9c206808fec2212141f8630ce534ed29a47037.tar.gz volse-hubzilla-2c9c206808fec2212141f8630ce534ed29a47037.tar.bz2 volse-hubzilla-2c9c206808fec2212141f8630ce534ed29a47037.zip |
Fix perms for viewing a channel
-rw-r--r-- | mod/channel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php index 5a66f5e07..9fa4bbe80 100644 --- a/mod/channel.php +++ b/mod/channel.php @@ -114,7 +114,7 @@ function channel_content(&$a, $update = 0, $load = false) { $perms = get_all_perms($a->profile['profile_uid'],$ob_hash); - if(! $perms['view_stream']) { + if(! $perms['view_profile']) { notice( t('Permission denied.') . EOL); return; } |