bug #38 ability to restrict profile, wall, photos from non-friends

This commit is contained in:
Friendika 2011-05-28 00:49:03 -07:00
commit 69f014d02b
2 changed files with 2 additions and 2 deletions

View file

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