Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
unclecheese committed Jul 20, 2012
1 parent 8a9f170 commit a30d0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function getEventList($start, $end, $filter = null, $limit = null) {

foreach($this->getAllCalendars() as $calendar) {
$announcements = DataList::create($this->getAnnouncementClass())
->filter('CalendarAnnouncement.CalendarID', $calendar->ID)
->filter('CalendarID', $calendar->ID)
->where("
(StartDate <= '$start' AND EndDate >= '$end') OR
(StartDate BETWEEN '$start' AND '$end') OR
Expand Down

0 comments on commit a30d0a3

Please sign in to comment.