Fixed bug #16319: [scheduler] CronCmd class variable "values" does not contain intege...
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 25 Nov 2010 22:53:02 +0000 (22:53 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 25 Nov 2010 22:53:02 +0000 (22:53 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@9635 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/scheduler/class.tx_scheduler_croncmd.php

index 57a7c96..07303a9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-25  Christian Kuhn  <lolli@schwarzbu.ch>
+
+       * Fixed bug #16319: [scheduler] CronCmd class variable "values" does not contain integers only (Thanks to Marcus Krause)
+
 2010-11-25  Jigal van Hemert <jigal@xs4all.nl>
 
        * Fixed bug #16322: Incorrect regexp in substituteMarkerArray
index 0908c3c..931ef95 100644 (file)
@@ -89,13 +89,13 @@ class tx_scheduler_CronCmd {
                                // Minute
                        intval(date('i', $tstamp)),
                                // Hour
-                       date('G', $tstamp),
+                       intval(date('G', $tstamp)),
                                // Day
-                       date('j', $tstamp),
+                       intval(date('j', $tstamp)),
                                // Month
-                       date('n', $tstamp),
+                       intval(date('n', $tstamp)),
                                // Year
-                       date('Y', $tstamp)
+                       intval(date('Y', $tstamp))
                );
 
                        // Set valid values