From: Marcel Werk Date: Thu, 11 Jul 2013 22:04:55 +0000 (+0200) Subject: Fixed progress calculation X-Git-Tag: 2.0.0_Beta_5~72 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=39738e829e1a4e2bd40cf36782df3fc94248b719;p=GitHub%2FWoltLab%2FWCF.git Fixed progress calculation --- 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); } /**