diff options
Diffstat (limited to 'bin/events2md.pl')
-rwxr-xr-x | bin/events2md.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/events2md.pl b/bin/events2md.pl index 4272291..12fe7a3 100755 --- a/bin/events2md.pl +++ b/bin/events2md.pl @@ -247,11 +247,11 @@ sub resolve_event time_brief => $time_brief, summary => $summary, description => $description, - attendees => [@attendees], + attendees => @attendees ? [@attendees] : undef, location => $location, timespan => $timespan, price => $price, - attachments => [@attachments], + attachments => @attachments ? [@attachments] : undef, }; } |