From b54b797229711c6c0d65102a761b514a95258eec Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Fri, 27 Feb 2015 16:11:26 -0500 Subject: [PATCH] Catch exception. --- framework/Itip/lib/Horde/Itip/Event/Vtodo.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/framework/Itip/lib/Horde/Itip/Event/Vtodo.php b/framework/Itip/lib/Horde/Itip/Event/Vtodo.php index ebb715d0f5e..4c2522f169e 100644 --- a/framework/Itip/lib/Horde/Itip/Event/Vtodo.php +++ b/framework/Itip/lib/Horde/Itip/Event/Vtodo.php @@ -277,8 +277,12 @@ private function copyDescription(Horde_Itip_Event $itip) */ public function getStartParameters() { - $parameters = $this->_vevent->getAttribute('DTSTART', true); - return array_pop($parameters); + try { + $parameters = $this->_vevent->getAttribute('DTSTART', true); + return array_pop($parameters); + } catch (Horde_Icalendar_Exception $e) { + return array(); + } } /**