Fixed wrong progress calculation
authorAlexander Ebert <ebert@woltlab.com>
Fri, 10 Feb 2012 18:14:56 +0000 (19:14 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 10 Feb 2012 18:14:56 +0000 (19:14 +0100)
Fixes #399

wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php

index cacb722bcc5f9a8588c7629768f9464685eca1cf..5e54ede90c11d7f27fd848df14faf18354993429 100644 (file)
@@ -226,7 +226,7 @@ class PackageInstallationNodeBuilder {
                if (!$progress['done']) {
                        return 0;
                }
-               else if ($progress['done'] == $progress['outstanding']) {
+               else if (!$progress['outstanding']) {
                        return 100;
                }
                else {