From 53a125fbb72108f91c2b7332653cc546ae0f48d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 5 Aug 2022 15:02:03 +0200 Subject: [PATCH] Fix CronjobPackageInstallationPlugin This fixes: > 6 arguments are required, 5 given The `startMinute` got lost in b355b1c75179f724cb0353247ce9b0b0f4712975. --- .../package/plugin/CronjobPackageInstallationPlugin.class.php | 1 + 1 file changed, 1 insertion(+) 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 3cc0768aae..168e4953ab 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php @@ -137,6 +137,7 @@ class CronjobPackageInstallationPlugin extends AbstractXMLPackageInstallationPlu // The constructor will throw if the expression is not valid. new CronExpression(\sprintf( '%s %s %s %s %s', + $data['startMinute'], $data['startHour'], $data['startDom'], $data['startMonth'], -- 2.20.1