Fixed calculation of setup steps
authorAlexander Ebert <ebert@woltlab.com>
Thu, 20 Jul 2017 11:08:43 +0000 (13:08 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 20 Jul 2017 11:08:43 +0000 (13:08 +0200)
See #2322

wcfsetup/install/files/lib/system/WCFSetup.class.php

index 4a0648aa943ee2a6061ce52c49213847e43d1585..12831378ec049cab40284fc130fd72ce41df7645 100644 (file)
@@ -209,7 +209,7 @@ class WCFSetup extends WCF {
         */
        protected function calcProgress($currentStep) {
                // calculate progress
-               $progress = round((100 / 18) * ++$currentStep, 0);
+               $progress = round((100 / 25) * ++$currentStep, 0);
                self::getTPL()->assign(['progress' => $progress]);
        }