summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-06-29 11:34:26 +0200
committerJonas Smedegaard <dr@jones.dk>2021-06-29 11:36:06 +0200
commitff72593bf6b3e55b3543d804a9ec0e4d601992fb (patch)
tree675d93d0bedaa5cf9f15b4ae2539f4ac1200ffbf
parent7fb094cf46779ee707f7ae71b8ab3b92ff64413a (diff)
fix tolerate missing summary
-rwxr-xr-xbin/events2md.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/events2md.pl b/bin/events2md.pl
index 9423133..84880af 100755
--- a/bin/events2md.pl
+++ b/bin/events2md.pl
@@ -165,7 +165,7 @@ for my $year ( map { $_->value }
sort_by {
$_->value->{DTSTART}
. $_->value->{DTEND}
- . $_->value->{SUMMARY}
+ . ( $_->value->{SUMMARY} || '' )
}
pairs %$day
)