diff options
-rw-r--r-- | RecurringType.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RecurringType.php b/RecurringType.php index 96b062b..4408dbb 100644 --- a/RecurringType.php +++ b/RecurringType.php @@ -407,7 +407,7 @@ class RecurringType { $maxEndDateStamp = NULL; foreach($recurringStartDatesStamps as $startDateStamp) { - $endDateStamp = $startDateStamp + $eventLength; + $endDateStamp = $startDateStamp; $maxEndDateStamp = ($endDateStamp > $maxEndDateStamp) ? $endDateStamp : $maxEndDateStamp; } |