correctly return for deleted items

This commit is contained in:
Evan Prodromou 2011-04-08 12:15:32 -04:00
parent 50c4731d20
commit 997babfea3
1 changed files with 2 additions and 0 deletions

View File

@ -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