aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-28 00:49:03 -0700
committerFriendika <info@friendika.com>2011-05-28 00:49:03 -0700
commit69f014d02b0d53ac2b42cbebe3d30418a2d0f612 (patch)
tree9d6e461dba425b815edb21c9ea1101868e7af432 /mod/profile.php
parent4e8a97f30a585eb707081a9216f840eb443a8764 (diff)
downloadvolse-hubzilla-69f014d02b0d53ac2b42cbebe3d30418a2d0f612.tar.gz
volse-hubzilla-69f014d02b0d53ac2b42cbebe3d30418a2d0f612.tar.bz2
volse-hubzilla-69f014d02b0d53ac2b42cbebe3d30418a2d0f612.zip
bug #38 ability to restrict profile, wall, photos from non-friends
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 4db548577..b80feab34 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -98,7 +98,7 @@ function profile_content(&$a, $update = 0) {
$is_owner = ((local_user()) && (local_user() == $a->profile['profile_uid']) ? true : false);
- if($a->profile['hidewall'] && (! $is_owner) && (! remote_contact)) {
+ if($a->profile['hidewall'] && (! $is_owner) && (! $remote_contact)) {
notice( t('Access to this profile has been restricted.') . EOL);
return;
}