From: Jan Schneider Date: Thu, 18 Nov 2010 15:43:05 +0000 (+0100) Subject: Unbreak attendee parsing. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=702810971245a672e6fcee8976764409fdee9f02;p=horde.git Unbreak attendee parsing. --- diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index 30a356665..0f5db1afb 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -2093,9 +2093,14 @@ abstract class Kronolith_Event $this->status = Horde_Util::getFormData('status', $this->status); // Attendees. - $this->attendees = ($attendees = Horde_Util::getFormData('attendees')) - ? $attendees - : $session->get('kronolith', 'attendees', Horde_Session::TYPE_ARRAY); + if ($attendees = Horde_Util::getFormData('attendees')) { + $attendees = Kronolith::parseAttendees(trim($attendees)); + } else { + $attendees = $session->get('kronolith', 'attendees', Horde_Session::TYPE_ARRAY); + } + if ($attendees) { + $this->attendees = $attendees; + } // Resources $this->_resources = $session->get('kronolith', 'resources', Horde_Session::TYPE_ARRAY);