| @@ -26,7 +26,7 @@ | ||
| 26 | 26 | // Estimate end date in case of count option | 
| 27 | 27 | $periodEndAt = $recurrence->getPeriodEndAt(); | 
| 28 | 28 |          if ($recurrence->hasCount()) { | 
| 29 | - $periodEndAt = clone $recurrence->getPeriodStartAt(); | |
| 29 | + $periodEndAt = clone $recurrence->getPeriodStartAt(); | |
| 30 | 30 |              $periodEndAt->modify(str_replace('1', ($recurrence->getCount() + 1), $recurrence->getFrequency()->convertToDateTimeFormat())); | 
| 31 | 31 | } | 
| 32 | 32 | |