aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php2
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;
}