aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-18 15:31:01 -0800
committerfriendica <info@friendica.com>2013-01-18 15:31:01 -0800
commitbf4d3fe79c064c329e3425d5722285aa4f8ee6e1 (patch)
treec1476ad28e0a3d8817f10020e1543a907022f119
parent4734e2ea8731ce51e44aac4065430445d3146845 (diff)
parent1502e3971e3f50a939bd27ec949ccaba2940e0b0 (diff)
downloadvolse-hubzilla-bf4d3fe79c064c329e3425d5722285aa4f8ee6e1.tar.gz
volse-hubzilla-bf4d3fe79c064c329e3425d5722285aa4f8ee6e1.tar.bz2
volse-hubzilla-bf4d3fe79c064c329e3425d5722285aa4f8ee6e1.zip
Merge pull request #22 from MicMee/master
Added error message about not enough permission to view a profile
-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;
}