From e7289911981727f8d876634af28fdbc2ff3d99c1 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 5 Apr 2010 17:51:31 -0400 Subject: [PATCH] Default this value to an empty array --- framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); } /** -- 2.11.0