diff options
Diffstat (limited to 'phpBB/includes/functions_download.php')
| -rw-r--r-- | phpBB/includes/functions_download.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index 2c5cba2c0d..2c6f62227c 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -166,7 +166,7 @@ function send_file_to_browser($attachment, $upload_dir, $category)  	}  	// Make sure the database record for the filesize is correct -	if ($size > 0 && $size != $attachment['filesize']) +	if ($size > 0 && $size != $attachment['filesize'] && strpos($attachment['physical_filename'], 'thumb_') === false)  	{  		// Update database record  		$sql = 'UPDATE ' . ATTACHMENTS_TABLE . ' | 
