From 617a5132d8603936376185954a30a6272b2384e5 Mon Sep 17 00:00:00 2001 From: Fyorl Date: Wed, 15 Aug 2012 06:05:31 +0800 Subject: [PATCH] [feature/attach-dl] Fixed $file_added to $files_added PHPBB3-11042 --- phpBB/download/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 8643ae9e28..939dbe81f7 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -387,7 +387,7 @@ else } $compress->add_custom_file("{$phpbb_root_path}files/{$attach['physical_filename']}", "{$prefix}{$attach['real_filename']}"); - $file_added++; + $files_added++; } $compress->close();