[eluser]Kinsbane[/eluser]
[quote author="pistolPete" date="1237258422"]Did you remove some comment at the beginning of the file?
I don't see any array in line 169 or 345...[/quote]
No, I didn't. Line #169 of the DCCalendar.php file is contained within the get_events_in_week() function, specifically within a while loop:
Code:
#168. while($date < $enddate) {
#169. if($this->events[$date]) {
#170. $events = array_merge($events, array_keys($this->events[$date]));
#171. }
#172. $date += $day;
#173. }