Commit 53a0a419 authored by Dries's avatar Dries
Browse files

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

parent 76aedbef
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment