From: Alexander Ebert Date: Mon, 30 Nov 2015 13:50:28 +0000 (+0100) Subject: Fixed variable reference X-Git-Tag: 3.0.0_Beta_1~2030^2~228 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a1e855dfc72cd43bf781b84e9c54027278685051;p=GitHub%2FWoltLab%2FWCF.git Fixed variable reference --- 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 70bf865a5c..ac5527ab2f 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php @@ -106,14 +106,14 @@ class CronjobPackageInstallationPlugin extends AbstractXMLPackageInstallationPlu $cronjob = parent::import($row, $data); - // update event listener name + // update cronjob name if (!$cronjob->cronjobName) { $cronjobEditor = new CronjobEditor($cronjob); $cronjobEditor->update(array( 'cronjobName' => Cronjob::AUTOMATIC_NAME_PREFIX.$cronjob->cronjobID )); - $cronjob = new Cronjob($cronjob->listenerID); + $cronjob = new Cronjob($cronjob->cronjobID); } return $cronjob;