aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicMee <michael@meer.name>2013-01-14 07:03:45 -0800
committerMicMee <michael@meer.name>2013-01-14 07:03:45 -0800
commit730c9ebc5793fe7d87406406bc82d0560227eadb (patch)
tree61f001bd22b0589b9b53d8876d98c8290d9c0595
parent1dd188a29e60bf0fb7b4c085250f1da2eb07538f (diff)
parenteac452f5052a620b0724ca683026061fcbaa70d7 (diff)
downloadvolse-hubzilla-730c9ebc5793fe7d87406406bc82d0560227eadb.tar.gz
volse-hubzilla-730c9ebc5793fe7d87406406bc82d0560227eadb.tar.bz2
volse-hubzilla-730c9ebc5793fe7d87406406bc82d0560227eadb.zip
Merge pull request #20 from MicMee/master
rewrite of profile_load in 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;