From 28e52ec9b8c36523272656914a036aa15e12bcec Mon Sep 17 00:00:00 2001 From: unclecheese Date: Wed, 22 Aug 2012 18:37:03 -0300 Subject: [PATCH] BUGFIX: Improper JOIN clause. --- code/Calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }