diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/batch.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/batch.inc b/includes/batch.inc index d847646bf..a6ff8f665 100644 --- a/includes/batch.inc +++ b/includes/batch.inc @@ -285,7 +285,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 is not counted twice when computing $current. $finished = 0; // Remove the processed operation and clear the sandbox. |