Fixed broken calculation
authorMarcel Werk <burntime@woltlab.com>
Tue, 17 Sep 2013 19:14:26 +0000 (21:14 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 17 Sep 2013 19:14:26 +0000 (21:14 +0200)
wcfsetup/install/files/lib/system/worker/ImportWorker.class.php

index 49e1d604cb3f9176847a35e801657ed918ae2e75..aa1b799a2e83e4eb177b903568866cc77016607d 100644 (file)
@@ -78,7 +78,7 @@ class ImportWorker extends AbstractWorker {
 
                $progress = (($this->loopCount + 1) / $this->count) * 100;
                if ($progress > 100) $progress = 100;
-               return round($progress, 0);
+               return floor($progress);
        }
 
        /**