aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 4bf3eecd7..f4c48dd3d 100644
--- a/boot.php
+++ b/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;
}