From 39738e829e1a4e2bd40cf36782df3fc94248b719 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 12 Jul 2013 00:04:55 +0200 Subject: [PATCH] Fixed progress calculation --- .../install/files/lib/system/worker/AbstractWorker.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/worker/AbstractWorker.class.php b/wcfsetup/install/files/lib/system/worker/AbstractWorker.class.php index cd22f20046..a9d501c752 100644 --- a/wcfsetup/install/files/lib/system/worker/AbstractWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/AbstractWorker.class.php @@ -67,7 +67,7 @@ abstract class AbstractWorker implements IWorker { $progress = (($this->limit * ($this->loopCount + 1)) / $this->count) * 100; if ($progress > 100) $progress = 100; - return round($progress, 0); + return floor($progress, 0); } /** -- 2.20.1