Skip to content
Snippets Groups Projects
Commit 53a0a419 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #267333: rollback to rounding down, instead of rounding up.

parent 76aedbef
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment