diff -ru typo3_src-4.4.4/typo3/sysext/scheduler/class.tx_scheduler_croncmd.php typo3_src-4.4.4.new/typo3/sysext/scheduler/class.tx_scheduler_croncmd.php --- typo3_src-4.4.4/typo3/sysext/scheduler/class.tx_scheduler_croncmd.php 2010-10-06 10:40:06.000000000 +0200 +++ typo3_src-4.4.4.new/typo3/sysext/scheduler/class.tx_scheduler_croncmd.php 2010-11-19 12:14:12.000000000 +0100 @@ -142,8 +142,8 @@ if ($increased_value !== false) { $this->values[$i] = $increased_value; - // Update day list if month was changed - if ($i == 3) { + // Update day list if month or year was changed + if ($i >= 3) { $this->valid_values[2] = $this->getDayList($this->values[3], $this->values[4]); // Check if day had already a valid start value, if not set a new one @@ -155,11 +155,6 @@ break; } else { $this->values[$i] = $this->valid_values[$i][0]; - - // Update day list if month was changed - if ($i == 3) { - $this->valid_values[2] = $this->getDayList($this->values[3], $this->values[4]+1); - } } } } @@ -318,4 +313,4 @@ include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/scheduler/class.tx_scheduler_croncmd.php']); } -?> \ No newline at end of file +?>