aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-11 22:48:01 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-11 22:48:01 -0700
commite838647e3aa87c36a494375c502e98788f209d19 (patch)
treed2e5d6d6dd874275a5db49c7aa6bd40ec16b1021
parent6562820175341ec99689e867973f21619e6c1029 (diff)
parent485b19958ea51fbe9c3c1c348aedb0bf8e9e87b8 (diff)
downloadvolse-hubzilla-e838647e3aa87c36a494375c502e98788f209d19.tar.gz
volse-hubzilla-e838647e3aa87c36a494375c502e98788f209d19.tar.bz2
volse-hubzilla-e838647e3aa87c36a494375c502e98788f209d19.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
-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);