From 7c11cc385b4890dace82c10c6b698072abbfccef Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 16 Sep 2024 22:05:25 +0700 Subject: [PATCH] Update dl.php --- dl.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dl.php b/dl.php index 60ae88c02..ec7aaad78 100644 --- a/dl.php +++ b/dl.php @@ -25,6 +25,8 @@ $thumbnail = request_var('thumb', 0); $is_m3u = false; if (str_starts_with($download_id, \TorrentPier\TorrServerAPI::M3U['prefix'])) { $is_m3u = true; +} else { + $download_id = (int)$download_id; } // Send file to browser