Pre-populate array.
authorJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 14:39:54 +0000 (16:39 +0200)
committerJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 14:40:14 +0000 (16:40 +0200)
kronolith/lib/FreeBusy.php

index 528af0c..7e4dc65 100644 (file)
@@ -76,6 +76,7 @@ class Kronolith_FreeBusy
         }
 
         /* Fetch events. */
+        $busy = array();
         foreach ($calendars as $calendar) {
             if (strpos($calendar, 'remote_') === 0) {
                 $driver = Kronolith::getDriver('Ical', substr($calendar, 7));