From 11e04e2f6ad577a39b8e5305375b938a87f672d9 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Wed, 1 Feb 2023 11:16:24 +0100 Subject: [PATCH] #10234 fixed js added when file download --- pandora_console/include/get_file.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_console/include/get_file.php b/pandora_console/include/get_file.php index f312340df5..8c9d849ea9 100644 --- a/pandora_console/include/get_file.php +++ b/pandora_console/include/get_file.php @@ -97,6 +97,7 @@ if (empty($file) === true || empty($hash) === true || $hash !== md5($file_raw.$c header('Content-Length: '.filesize($downloadable_file)); header('Content-Disposition: attachment; filename="'.basename($downloadable_file).'"'); readfile($downloadable_file); + return; } }