summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngie Byron2010-10-04 07:34:26 (GMT)
committerAngie Byron2010-10-04 07:34:26 (GMT)
commit522c052fadabe6685e7292b7001966c2eedf5975 (patch)
tree940011d5386213685fc92eb0e68f6788c193a589
parent28d47535988600fd8516424b38a4bbb9a0316ad6 (diff)
#902798 by tobiasb: Fix notice in _batch_process().
-rw-r--r--includes/batch.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/batch.inc b/includes/batch.inc
index a6ff8f6..e4ddb06 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,