diff options
Diffstat (limited to 'mod/manage.php')
-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; + } |