Sort by numeric in Cron::cronToArray()

This commit is contained in:
Matias Griese
2020-12-02 21:51:34 +02:00
parent e8f5080f35
commit 0a42a889ec

View File

@@ -569,7 +569,7 @@ class Cron
return [];
}
}
sort($array);
sort($array, SORT_NUMERIC);
return $array;
}