Merge pull request #20 from MicMee/master

rewrite of profile_load in boot.php
This commit is contained in:
MicMee 2013-01-14 07:03:45 -08:00
commit 730c9ebc57

View File

@ -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;