Skip to content

Commit

Permalink
BUGFIX: Improper JOIN clause.
Browse files Browse the repository at this point in the history
  • Loading branch information
unclecheese committed Aug 22, 2012
1 parent 5525eba commit 28e52ec
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 @@ -240,7 +240,7 @@ protected function getStandardEvents($start, $end, $filter = null) {
(EndDate BETWEEN '$start' AND '$end')
");
$list->filter(array($relation => $ids));
$list->innerJoin($event_class, $relation = "\"{$event_class}\".ID");
$list->innerJoin($event_class, "$relation = \"{$event_class}\".ID");
return $list;
}

Expand Down

0 comments on commit 28e52ec

Please sign in to comment.