aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index b07706ae0..8081755b1 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -808,6 +808,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);