From: Alexander Ebert Date: Fri, 10 Feb 2012 18:14:56 +0000 (+0100) Subject: Fixed wrong progress calculation X-Git-Tag: 2.0.0_Beta_1~1358^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a1f797903e83647282d4fe12bd952e1e0e5fc3b;p=GitHub%2FWoltLab%2FWCF.git Fixed wrong progress calculation Fixes #399 --- diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php index cacb722bcc..5e54ede90c 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php @@ -226,7 +226,7 @@ class PackageInstallationNodeBuilder { if (!$progress['done']) { return 0; } - else if ($progress['done'] == $progress['outstanding']) { + else if (!$progress['outstanding']) { return 100; } else {