From 1a1f797903e83647282d4fe12bd952e1e0e5fc3b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 10 Feb 2012 19:14:56 +0100 Subject: [PATCH] Fixed wrong progress calculation Fixes #399 --- .../lib/system/package/PackageInstallationNodeBuilder.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1