From eac452f5052a620b0724ca683026061fcbaa70d7 Mon Sep 17 00:00:00 2001 From: Michael Meer Date: Mon, 14 Jan 2013 14:33:30 +0100 Subject: rewrite of function profile_load with Mike --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index 4dd8d68c3..aa9e8929f 100644 --- a/boot.php +++ b/boot.php @@ -1254,7 +1254,7 @@ function profile_load(&$a, $nickname, $profile = 0) { // Can the observer see our profile? require_once('include/permissions.php'); - if(! perm_is_allowed($user[0]['channel_id'],$observer['xchan_hash'],'view_profile') { + if(! perm_is_allowed($user[0]['channel_id'],$observer['xchan_hash'],'view_profile')) { // permission denied //TODO: place error message return; -- cgit v1.2.3