diff --git a/code/Calendar.php b/code/Calendar.php index 8b762c9..0f992a9 100755 --- a/code/Calendar.php +++ b/code/Calendar.php @@ -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; }