From 997babfea3f078d45c3b859ddab523234a61fe4f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 8 Apr 2011 12:15:32 -0400 Subject: [PATCH] correctly return for deleted items --- plugins/Event/EventPlugin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/Event/EventPlugin.php b/plugins/Event/EventPlugin.php index 7775bdf120..36b0ac5986 100644 --- a/plugins/Event/EventPlugin.php +++ b/plugins/Event/EventPlugin.php @@ -328,6 +328,7 @@ class EventPlugin extends MicroappPlugin if (empty($rsvp)) { $out->element('p', null, _('Deleted.')); + return; } $out->elementStart('div', 'rsvp'); @@ -343,6 +344,7 @@ class EventPlugin extends MicroappPlugin if (empty($event)) { $out->element('p', null, _('Deleted.')); + return; } $out->elementStart('div', 'vevent event'); // VEVENT IN -- 2.39.5