diff --git a/code/CalendarEvent.php b/code/CalendarEvent.php index 01a5197..0ba8e9e 100755 --- a/code/CalendarEvent.php +++ b/code/CalendarEvent.php @@ -181,7 +181,7 @@ public function OtherDates() { return DataList::create($this->data()->getDateTimeClass()) ->filter(array( "EventID" => $this->ID, - "StartDate:ExactMatch:Not" => $date + "StartDate:ExactMatch:not" => $date )) ->sort("StartDate ASC") ->limit($cal->OtherDatesCount);