From 69f014d02b0d53ac2b42cbebe3d30418a2d0f612 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sat, 28 May 2011 00:49:03 -0700 Subject: bug #38 ability to restrict profile, wall, photos from non-friends --- mod/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile.php') 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; } -- cgit v1.2.3