diff options
author | plegall <plg@piwigo.org> | 2009-07-03 23:03:30 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2009-07-03 23:03:30 +0000 |
commit | cc285fa7314d9b48a73669fa2d2df0b4cbf43514 (patch) | |
tree | f93726aa0623536a07dbbd340a0fa05f706115eb /include/ws_functions.inc.php | |
parent | 4286eb48c13b74597b0186fa03849ccd89c47041 (diff) |
merge r3513 from branch 2.0 to trunk
bug 1043 fixed: avoid warning when merging chunks. This warning was preventing
the PwgError to work correctly and the error code was not transmitted.
git-svn-id: http://piwigo.org/svn/trunk@3514 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/ws_functions.inc.php | 2 |
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); |