From: Friendika Date: Fri, 22 Apr 2011 01:39:07 +0000 (-0700) Subject: when public access is blocked, profile page should show login box X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eeb3c13ad3af963b9150821fbdd6a5145d1cb188;p=friendica.git when public access is blocked, profile page should show login box --- diff --git a/mod/profile.php b/mod/profile.php index c350aa0879..2af6f2429b 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -52,8 +52,7 @@ function profile_init(&$a) { function profile_content(&$a, $update = 0) { if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) { - notice( t('Public access denied.') . EOL); - return; + return login(); }