Fixed wrong array index for cronjob uninstallation
authorAlexander Ebert <ebert@woltlab.com>
Sun, 14 Oct 2012 00:20:20 +0000 (02:20 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 14 Oct 2012 00:20:20 +0000 (02:20 +0200)
Fixes #786

wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php

index 940e18bf528541d47c3ebda0fe45523f18688632..5230a9bf1973fc68be5f8a05bcf3b6e7b888ed52 100644 (file)
@@ -29,7 +29,7 @@ class CronjobPackageInstallationPlugin extends AbstractXMLPackageInstallationPlu
                $statement = WCF::getDB()->prepareStatement($sql);
                foreach ($items as $item) {
                        $statement->execute(array(
-                               $item['attributes']['classname'],
+                               $item['elements']['classname'],
                                $this->installation->getPackageID()
                        ));
                }