mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
profile wall privacy
This commit is contained in:
parent
ed30635bee
commit
7c6c3d36f5
2 changed files with 13 additions and 12 deletions
|
@ -107,7 +107,7 @@ function profile_content(&$a, $update = 0) {
|
|||
|
||||
$is_owner = ((local_user()) && (local_user() == $a->profile['profile_uid']) ? true : false);
|
||||
|
||||
if($a->user['hidewall'] && (! $is_owner) && (! $remote_contact)) {
|
||||
if($a->profile['hidewall'] && (! $is_owner) && (! $remote_contact)) {
|
||||
notice( t('Access to this profile has been restricted.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue