Skip to content

Commit

Permalink
BUGFIX: LiveCalendarWidget using the wrong Events() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Carlino committed Jun 16, 2011
1 parent ffdf4c9 commit 70e3727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/CalendarUI.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ protected function getQuickWeekendLink()

protected function getEventsFor($start, $end)
{
$events = $this->calendar->Events(null, $start, $end);
$events = $this->calendar->data()->Events(null, $start, $end);
$map = array();
if($events) {
foreach($events as $event) {
Expand Down

0 comments on commit 70e3727

Please sign in to comment.