From 84bfce1f3b7ce9f798e0f8ae13199fe630d09c65 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 14 Oct 2018 12:16:50 +0200 Subject: [PATCH] Change sort order for start* elements in cronjob PIP entry generation See #2545 --- .../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 e4351397cb..0e225b154a 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/CronjobPackageInstallationPlugin.class.php @@ -394,7 +394,7 @@ class CronjobPackageInstallationPlugin extends AbstractXMLPackageInstallationPlu } } - foreach (['startdom', 'startdow', 'starthour', 'startminute', 'startmonth'] as $timeProperty) { + foreach (['startmonth', 'startdom', 'startdow', 'starthour', 'startminute'] as $timeProperty) { $cronjob->appendChild($document->createElement($timeProperty, $formData[$timeProperty])); } -- 2.20.1