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 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, |