aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ws_functions.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index ad73161b3..9f5eb8ad0 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -963,6 +963,8 @@ function merge_chunks($output_filepath, $original_sum, $type)
ws_logfile('[merge_chunks] memory_get_usage before loading chunks: '.memory_get_usage());
+ $i = 0;
+
foreach ($chunks as $chunk)
{
$string = file_get_contents($chunk);