aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-11 19:29:30 -0800
committerfriendica <info@friendica.com>2014-11-11 19:29:30 -0800
commitb5af6679857eeafcb360d7dec69acf11af034c1d (patch)
tree91a5118b270c7966a8f75b5ad572ce71a2c15d16 /include/widgets.php
parent37742be6af5aee1a5be8ba878379d9e21b39377d (diff)
downloadvolse-hubzilla-b5af6679857eeafcb360d7dec69acf11af034c1d.tar.gz
volse-hubzilla-b5af6679857eeafcb360d7dec69acf11af034c1d.tar.bz2
volse-hubzilla-b5af6679857eeafcb360d7dec69acf11af034c1d.zip
slow progress on sys publishing, making sure all the data we need is in the places we need it but validate it anyway
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index dcad3eff6..cb5dc6846 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -585,7 +585,7 @@ function widget_design_tools($arr) {
// otherwise local_user() is sufficient for permissions.
if($a->profile['profile_uid'])
- if($a->profile['profile_uid'] != local_user())
+ if(($a->profile['profile_uid'] != local_user()) && (! $a->is_sys))
return '';
if(! local_user())