Fix a parse error in the iTip viewer (incomplete conversion to the Horde_iCalendar...
authorGunnar Wrobel <wrobel@temple.(none)>
Mon, 9 Aug 2010 06:15:39 +0000 (08:15 +0200)
committerGunnar Wrobel <wrobel@temple.(none)>
Mon, 9 Aug 2010 06:15:39 +0000 (08:15 +0200)
imp/lib/Mime/Viewer/Itip.php

index 260be4b..a6f8063 100644 (file)
@@ -775,7 +775,7 @@ class IMP_Horde_Mime_Viewer_Itip extends Horde_Mime_Viewer_Base
         try {
             $sum = $vevent->getAttribute('SUMMARY');
             $html .= '<p><strong>' . _("Summary") . ':</strong> ' . htmlspecialchars($sum) . '</p>';
-        } else {
+        } catch (Horde_Icalendar_Exception $e) {
             $html .= '<p><strong>' . _("Summary") . ':</strong> <em>' . _("None") . '</em></p>';
         }