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();