revert that
This commit is contained in:
parent
70fd797994
commit
5d3dbfae4c
@ -114,7 +114,7 @@ function channel_content(&$a, $update = 0, $load = false) {
|
|||||||
|
|
||||||
$perms = get_all_perms($a->profile['profile_uid'],$ob_hash);
|
$perms = get_all_perms($a->profile['profile_uid'],$ob_hash);
|
||||||
|
|
||||||
if(! $perms['view_profile']) {
|
if(! $perms['view_stream']) {
|
||||||
notice( t('Permission denied.') . EOL);
|
notice( t('Permission denied.') . EOL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user