Change sort order for start* elements in cronjob PIP entry generation
authorMatthias Schmidt <gravatronics@live.com>
Sun, 14 Oct 2018 10:16:50 +0000 (12:16 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 14 Oct 2018 10:16:50 +0000 (12:16 +0200)
See #2545

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

index e4351397cb8b6b79cb885418a97e021f34c955ff..0e225b154a40918a9b6c26ee9a957d53a681e51b 100644 (file)
@@ -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]));
                }