correctly return for deleted items
This commit is contained in:
parent
50c4731d20
commit
997babfea3
@ -328,6 +328,7 @@ class EventPlugin extends MicroappPlugin
|
|||||||
|
|
||||||
if (empty($rsvp)) {
|
if (empty($rsvp)) {
|
||||||
$out->element('p', null, _('Deleted.'));
|
$out->element('p', null, _('Deleted.'));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$out->elementStart('div', 'rsvp');
|
$out->elementStart('div', 'rsvp');
|
||||||
@ -343,6 +344,7 @@ class EventPlugin extends MicroappPlugin
|
|||||||
|
|
||||||
if (empty($event)) {
|
if (empty($event)) {
|
||||||
$out->element('p', null, _('Deleted.'));
|
$out->element('p', null, _('Deleted.'));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$out->elementStart('div', 'vevent event'); // VEVENT IN
|
$out->elementStart('div', 'vevent event'); // VEVENT IN
|
||||||
|
Loading…
Reference in New Issue
Block a user