summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/batch.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/batch.inc b/includes/batch.inc
index 39490e609..798d2b3eb 100644
--- a/includes/batch.inc
+++ b/includes/batch.inc
@@ -236,7 +236,7 @@ function _batch_process() {
}
$current = $total - $remaining + $finished;
- $percentage = $total ? round($current / $total * 100) : 100;
+ $percentage = $total ? floor($current / $total * 100) : 100;
$values = array(
'@remaining' => $remaining,
'@total' => $total,