diff options
-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 a6ff8f665..e4ddb06b9 100644 --- a/includes/batch.inc +++ b/includes/batch.inc @@ -343,7 +343,7 @@ function _batch_process() { $current = $total - $remaining + $finished; $percentage = _batch_api_percentage($total, $current); - $elapsed = $current_set['elapsed']; + $elapsed = isset($current_set['elapsed']) ? $current_set['elapsed'] : 0; $values = array( '@remaining' => $remaining, '@total' => $total, |