diff --git a/library/includes/functions_torrent.php b/library/includes/functions_torrent.php index ea7122f9..179f85cb 100644 --- a/library/includes/functions_torrent.php +++ b/library/includes/functions_torrent.php @@ -508,7 +508,7 @@ function send_torrent_with_passkey ($filename) } else { - $tor['announce-list'] = array_merge((isset($tor['announce-list']) ? $tor['announce-list'] : array()), array(array($announce)), $announce_urls_add); + $tor['announce-list'] = array_merge((isset($tor['announce-list']) ? $tor['announce-list'] : array()), $announce_urls_add); } // Add retracker