From dc8fe3e064b96895388876ec12f56bafa7672304 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 14 Oct 2012 02:20:20 +0200 Subject: [PATCH] Fixed wrong array index for cronjob uninstallation Fixes #786 --- .../package/plugin/CronjobPackageInstallationPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php index 940e18bf52..5230a9bf19 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php @@ -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() )); } -- 2.20.1