From 6f954ac3017c6030d35872cd7ba28c806781d3bc Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 18 Nov 2023 22:04:24 +0700 Subject: [PATCH] Update dl.php --- dl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dl.php b/dl.php index 3e292e09..72d9e285 100644 --- a/dl.php +++ b/dl.php @@ -176,7 +176,7 @@ for ($i = 0; $i < $num_rows; $i++) // Disallowed if (!in_array($attachment['extension'], $allowed_extensions)) { - bb_die(sprintf($lang['EXTENSION_DISABLED_AFTER_POSTING'], $attachment['extension']) . "

" . $attachment['physical_filename'] . "." . $attachment['extension']); + bb_die(sprintf($lang['EXTENSION_DISABLED_AFTER_POSTING'], $attachment['extension']) . "

" . $attachment['physical_filename']); } $download_mode = intval($download_mode[$attachment['extension']]);