This commit is contained in:
friendica 2013-01-18 16:05:40 -08:00
commit 652507dd50

View File

@ -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;
}