diff options
Diffstat (limited to 'Zotlabs/Module/Profile.php')
-rw-r--r-- | Zotlabs/Module/Profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Profile.php b/Zotlabs/Module/Profile.php index bcc7ad930..732beaa6a 100644 --- a/Zotlabs/Module/Profile.php +++ b/Zotlabs/Module/Profile.php @@ -110,7 +110,7 @@ class Profile extends Controller { $is_owner = ((local_channel()) && (local_channel() == App::$profile['profile_uid']) ? true : false); - if (App::$profile['hidewall'] && (!$is_owner) && (!remote_channel())) { + if ((isset(App::$profile['hidewall']) && App::$profile['hidewall']) && (!$is_owner) && (!remote_channel())) { notice(t('Permission denied.') . EOL); return; } |