aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFyorl <gaelreth@gmail.com>2012-08-15 06:05:31 +0800
committerFyorl <gaelreth@gmail.com>2012-08-15 06:05:31 +0800
commit617a5132d8603936376185954a30a6272b2384e5 (patch)
tree3ff1f5f741577ca7d55ba476935c3240885992ce
parent6376cfe76604ebaab62f80dbddfc677d298a2f05 (diff)
downloadforums-617a5132d8603936376185954a30a6272b2384e5.tar
forums-617a5132d8603936376185954a30a6272b2384e5.tar.gz
forums-617a5132d8603936376185954a30a6272b2384e5.tar.bz2
forums-617a5132d8603936376185954a30a6272b2384e5.tar.xz
forums-617a5132d8603936376185954a30a6272b2384e5.zip
[feature/attach-dl] Fixed $file_added to $files_added
PHPBB3-11042
-rw-r--r--phpBB/download/file.php2
1 files changed, 1 insertions, 1 deletions
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();