aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMichael Meer <michael@meer.name>2013-01-18 13:51:05 +0100
committerMichael Meer <michael@meer.name>2013-01-18 13:51:05 +0100
commit1502e3971e3f50a939bd27ec949ccaba2940e0b0 (patch)
treec1476ad28e0a3d8817f10020e1543a907022f119 /boot.php
parent4734e2ea8731ce51e44aac4065430445d3146845 (diff)
downloadvolse-hubzilla-1502e3971e3f50a939bd27ec949ccaba2940e0b0.tar.gz
volse-hubzilla-1502e3971e3f50a939bd27ec949ccaba2940e0b0.tar.bz2
volse-hubzilla-1502e3971e3f50a939bd27ec949ccaba2940e0b0.zip
added error message to boot.php - permission denied
Diffstat (limited to 'boot.php')
-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;
}