Merge https://github.com/friendica/red into zpull
This commit is contained in:
commit
652507dd50
2
boot.php
2
boot.php
@ -1258,7 +1258,7 @@ function profile_load(&$a, $nickname, $profile = 0) {
|
||||
require_once('include/permissions.php');
|
||||
if(! perm_is_allowed($user[0]['channel_id'],$observer['xchan_hash'],'view_profile')) {
|
||||
// permission denied
|
||||
//TODO: place error message
|
||||
notice( t(' Sorry, you don't have the permission to view this profile. ') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user