aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMichael Meer <michael@meer.name>2013-01-14 14:33:30 +0100
committerMichael Meer <michael@meer.name>2013-01-14 14:33:30 +0100
commiteac452f5052a620b0724ca683026061fcbaa70d7 (patch)
tree61f001bd22b0589b9b53d8876d98c8290d9c0595 /boot.php
parent1dd188a29e60bf0fb7b4c085250f1da2eb07538f (diff)
downloadvolse-hubzilla-eac452f5052a620b0724ca683026061fcbaa70d7.tar.gz
volse-hubzilla-eac452f5052a620b0724ca683026061fcbaa70d7.tar.bz2
volse-hubzilla-eac452f5052a620b0724ca683026061fcbaa70d7.zip
rewrite of function profile_load with Mike
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 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;