@@ -733,7 +733,7 @@ |
||
733 | 733 | |
734 | 734 | // If the previous calculation gave us a start date different than the original start date, then we need to skip to the first occurrence |
735 | 735 | if (($term == IDC_RCEV_PAT_ORB_MONTHLY && ((int) $this->recur["monthday"]) < $curmonthday) || |
736 | - ($term == IDC_RCEV_PAT_ORB_YEARLY && ($selmonth != $curmonth || ($selmonth == $curmonth && ((int) $this->recur["monthday"]) < $curmonthday)))) { |
|
736 | + ($term == IDC_RCEV_PAT_ORB_YEARLY && ($selmonth != $curmonth || ($selmonth == $curmonth && ((int) $this->recur["monthday"]) < $curmonthday)))) { |
|
737 | 737 | if ($term == IDC_RCEV_PAT_ORB_YEARLY) { |
738 | 738 | if ($curmonth > $selmonth) {// go to next occurrence in 'everyn' months minus difference in first occurrence and original date |
739 | 739 | $count = $everyn - ($curmonth - $selmonth); |