Fix perms for viewing a channel

This commit is contained in:
Thomas Willingham 2013-09-21 19:23:21 +01:00
parent df8035344f
commit 2c9c206808

View File

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