From 153c32e8ff033b58a6c57fdf0187312cbb018445 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 3 Jul 2009 22:59:32 +0000 Subject: [PATCH] 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/branches/2.0@3513 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 979e855ef..8f7fdb9e2 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -962,6 +962,8 @@ function merge_chunks($output_filepath, $original_sum, $type) sort($chunks); ws_logfile('[merge_chunks] memory_get_usage before loading chunks: '.memory_get_usage()); + + $i = 0; foreach ($chunks as $chunk) {