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/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index 1fb6ee581..71d00ed25 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -769,7 +769,7 @@ function photos_content(&$a) { intval($owner_uid) ); - if(count($r) && $r[0]['hidewall'] && (local_user() !== $owner_uid) && (! remote_contact)) { + if(count($r) && $r[0]['hidewall'] && (local_user() != $owner_uid) && (! $remote_contact)) { notice( t('Access to this item is restricted.') . EOL); return; } -- cgit v1.2.3