From e93b777061bdc0d8103819b002dccddd0235592c Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 18 Nov 2023 21:20:22 +0700 Subject: [PATCH] Update functions_torrent.php --- library/includes/functions_torrent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/includes/functions_torrent.php b/library/includes/functions_torrent.php index affe153d..29672970 100644 --- a/library/includes/functions_torrent.php +++ b/library/includes/functions_torrent.php @@ -506,7 +506,7 @@ function send_torrent_with_passkey ($filename) { unset($tor['announce-list']); } - else if (!empty($announce_urls_add)) + elseif (!empty($announce_urls_add)) { $tor['announce-list'] = array_merge((isset($tor['announce-list']) ? $tor['announce-list'] : array()), $announce_urls_add); }