diff options
author | friendica <redmatrix@redmatrix.me> | 2015-04-23 21:13:59 -0700 |
---|---|---|
committer | friendica <redmatrix@redmatrix.me> | 2015-04-23 21:13:59 -0700 |
commit | 5ac177391bf7f8f13da5089b907829cf6f77650b (patch) | |
tree | 72a44bae38806c6acb3f71952cd6f8bb272e46df /mod | |
parent | 4759fa662b38253a01fa27b57ac336cbfb12aa47 (diff) | |
download | volse-hubzilla-5ac177391bf7f8f13da5089b907829cf6f77650b.tar.gz volse-hubzilla-5ac177391bf7f8f13da5089b907829cf6f77650b.tar.bz2 volse-hubzilla-5ac177391bf7f8f13da5089b907829cf6f77650b.zip |
disconnect
Diffstat (limited to 'mod')
-rw-r--r-- | mod/manage.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/manage.php b/mod/manage.php index 54a65dbbf..3712be6f1 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -149,14 +149,16 @@ function manage_content(&$a) { intval(local_channel()), intval(PERMS_A_DELEGATE) ); - if(! $delegates) - $delegates = null; if($delegates) { for($x = 0; $x < count($delegates); $x ++) { - $delegates[$x]['link'] = 'magic?f=&dest=' . urlencode($delegates[$x]['xchan_url']) . '&delegate=' . urlencode($delegates[$x]['xchan_addr']); + $delegates[$x]['link'] = 'magic?f=&dest=' . urlencode($delegates[$x]['xchan_url']) + . '&delegate=' . urlencode($delegates[$x]['xchan_addr']); } } + else { + $delegates = null; + } |