Fixed run-attribute for instructions
authorAlexander Ebert <ebert@woltlab.com>
Tue, 31 Jan 2012 16:40:42 +0000 (17:40 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 31 Jan 2012 16:40:42 +0000 (17:40 +0100)
Fixes #398

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

index 3340c5c0b6dc7a3893afcdce5444f2ed79616d75..64b2b66cfcca6dbe1af654ff0ee2c7c9a73ff9a7 100644 (file)
@@ -480,7 +480,7 @@ class PackageInstallationNodeBuilder {
                
                $instructions = ($this->installation->getAction() == 'install') ? $this->installation->getArchive()->getInstallInstructions() : $this->installation->getArchive()->getUpdateInstructions();
                foreach ($instructions as $pip) {
-                       if (isset($pip['attributes']['run']) && ($pip['attributes']['run'] == 'isApplication')) {
+                       if (isset($pip['attributes']['run']) && ($pip['attributes']['run'] == 'standalone')) {
                                $this->parentNode = $this->node;
                                $this->node = $this->getToken();
                                $this->sequenceNo = 0;