From aea6be279b86a41a3e9c918918625cc52def663f Mon Sep 17 00:00:00 2001 From: Jamie McClymont Date: Mon, 28 Jan 2019 17:14:13 +1300 Subject: [PATCH] RRule Expansion: Do not emit recurrences for instances with RRULEs This matches the behaviour of Evolution and Thunderbird --- inc/RRule.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/RRule.php b/inc/RRule.php index 7819a343..270df21f 100644 --- a/inc/RRule.php +++ b/inc/RRule.php @@ -1260,6 +1260,8 @@ function expand_event_instances( vComponent $vResource, $range_start = null, $ra } else { unset($instances[$recur_utc]); + // This is a single instance of a recurring event, it can not in itself produce extra instances due to RRULE etc + continue; } } else if ( DEBUG_RRULE ) {