slow progress on sys publishing, making sure all the data we need is in the places we need it but validate it anyway

This commit is contained in:
friendica
2014-11-11 19:29:30 -08:00
parent 37742be6af
commit b5af667985
4 changed files with 25 additions and 10 deletions

View File

@@ -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())