diff --git a/includes/batch.inc b/includes/batch.inc index 13e850046535f1aafc397bc87e0ecb3fbb888a64..6362987581751368792e98d3d0d7b7752e3f61b3 100644 --- a/includes/batch.inc +++ b/includes/batch.inc @@ -189,7 +189,7 @@ function _batch_process() { call_user_func_array($function, array_merge($args, array(&$batch_context))); } - if ($finished == 1) { + if ($finished >= 1) { // Make sure this step isn't counted double when computing $current. $finished = 0; // Remove the operation and clear the sandbox.