aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 9fa4bbe80..5a66f5e07 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_profile']) {
+ if(! $perms['view_stream']) {
notice( t('Permission denied.') . EOL);
return;
}