aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-06-29 11:34:26 +0200
committerJonas Smedegaard <dr@jones.dk>2024-08-27 23:39:36 +0200
commitab4c1e0b149a31e819ad6f1513ce14e6325cf566 (patch)
tree1d13d88621ebaed478dd2f7e97a9da63d8969ece
parenta9547e4ca04526fa477b4e73ea2e74b82ca4fdca (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
)