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 06d8a4cf8..29d9ef022 100644 --- a/include/identity.php +++ b/include/identity.php @@ -810,6 +810,10 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) { $is_owner = (($profile['uid'] == local_channel()) ? true : false); + if(is_sys_channel($profile['uid'])) + $show_connect = false; + + $profile['picdate'] = urlencode($profile['picdate']); call_hooks('profile_sidebar_enter', $profile); |