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"; }