Default this value to an empty array
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 5 Apr 2010 21:51:31 +0000 (17:51 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 6 Apr 2010 00:44:38 +0000 (20:44 -0400)
framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php

index 434558f..f63df80 100644 (file)
@@ -662,12 +662,13 @@ class Horde_ActiveSync_Message_Appointment extends Horde_ActiveSync_Message_Base
     }
 
     /**
+     * Get a list of this event's attendees
      *
      * @return array  An array of 'name' and 'email' hashes
      */
     public function getAttendees()
     {
-        return $this->_getAttribute('attendees');
+        return $this->_getAttribute('attendees', array());
     }
 
     /**