From 1fa1e4f2128f6eab2b1e9448547d28c1fd0be3b1 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 14 Sep 2017 17:07:37 +0200 Subject: [PATCH] minmod --- build/service/CalendarExtractor.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/service/CalendarExtractor.php b/build/service/CalendarExtractor.php index 4d8c7ed..b3250d6 100644 --- a/build/service/CalendarExtractor.php +++ b/build/service/CalendarExtractor.php @@ -432,8 +432,12 @@ $RAW .= "UID:$start_t-univ-pau-ics\n"; // required if( !is_null($data[1]) ) $RAW .= "SUMMARY:${data[1]}\n"; - if( !is_null($data[2]) ) + else + $RAW .= "SUMMARY:?\n"; + if( !is_null($data[2]) ){ $RAW .= "LOCATION:${data[2]}\n"; + $RAW .= "DESCRIPTION:${data[2]}\n"; + } $RAW .= "CATEGORIES: UPPA Calendar\n"; $RAW .= "END:VEVENT\n"; }