Skip to content

Commit

Permalink
MINOR case sensitive comparison
Browse files Browse the repository at this point in the history
ExactMatchFilter::setModifiers() case sensitively compares against array('not', 'nocase', 'case')
  • Loading branch information
mattclegg committed Aug 12, 2013
1 parent e36774b commit 7ac5345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/CalendarEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7ac5345

Please sign in to comment.