From 1502e3971e3f50a939bd27ec949ccaba2940e0b0 Mon Sep 17 00:00:00 2001 From: Michael Meer Date: Fri, 18 Jan 2013 13:51:05 +0100 Subject: added error message to boot.php - permission denied --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3