From: Michael J. Rubinsky Date: Mon, 5 Apr 2010 21:51:31 +0000 (-0400) Subject: Default this value to an empty array X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e7289911981727f8d876634af28fdbc2ff3d99c1;p=horde.git Default this value to an empty array --- diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php b/framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php index 434558fa7..f63df804f 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php @@ -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()); } /**