aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.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/photos.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/photos.php')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
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;
}