diff --git a/dl.php b/dl.php index 764c9573..843f1a81 100644 --- a/dl.php +++ b/dl.php @@ -107,7 +107,7 @@ if (!($attachment = DB()->sql_fetchrow($result))) $attachment['physical_filename'] = basename($attachment['physical_filename']); -// Re-define download mode for thumbnails +// Re-define $attachment['physical_filename'] for thumbnails if ($thumbnail) { $attachment['physical_filename'] = THUMB_DIR . '/t_' . $attachment['physical_filename'];