diff options
-rw-r--r-- | include/identity.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php index 32c4dd130..fd0b4d7f5 100644 --- a/include/identity.php +++ b/include/identity.php @@ -924,6 +924,9 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) { $pdesc = true; $reddress = true; + if($block && intval(get_config('system','block_public_blackout'))) + return $o; + if((! is_array($profile)) && (! count($profile))) return $o; @@ -935,6 +938,7 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) { $show_connect = false; + $profile['picdate'] = urlencode($profile['picdate']); call_hooks('profile_sidebar_enter', $profile); |