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 aa356abad..bb6c010f6 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -148,14 +148,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; + } |