You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the before and after filter events inside the range were removed, I had to update 1 line and add an extra check (parentheses) to make it work.
I changed this line in removeLastEventIfOutsideWindowAndNonRecurring()
if (!isset($lastEvent['RRULE']) || $lastEvent['RRULE'] === '' && $this->doesEventStartOutsideWindow($lastEvent)) {
to
if ((!isset($lastEvent['RRULE']) || $lastEvent['RRULE'] === '') && $this->doesEventStartOutsideWindow($lastEvent)) {
and had to add this if to the $eventsforeach in reduceEventsToMinMaxRange()
if ($anEvent === null) {
unset($events[$key]);
continue;
}
I'm using v2.1.11
The text was updated successfully, but these errors were encountered:
When using the before and after filter events inside the range were removed, I had to update 1 line and add an extra check (parentheses) to make it work.
I changed this line in
removeLastEventIfOutsideWindowAndNonRecurring()
if (!isset($lastEvent['RRULE']) || $lastEvent['RRULE'] === '' && $this->doesEventStartOutsideWindow($lastEvent)) {
to
if ((!isset($lastEvent['RRULE']) || $lastEvent['RRULE'] === '') && $this->doesEventStartOutsideWindow($lastEvent)) {
and had to add this if to the
$events
foreach
inreduceEventsToMinMaxRange()
I'm using
v2.1.11
The text was updated successfully, but these errors were encountered: