From 2c9c206808fec2212141f8630ce534ed29a47037 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Sat, 21 Sep 2013 19:23:21 +0100 Subject: Fix perms for viewing a channel --- mod/channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') 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; } -- cgit v1.2.3