This commit is contained in:
xdrm-brackets 2017-09-14 17:07:37 +02:00
parent 960f490beb
commit 1fa1e4f212
1 changed files with 5 additions and 1 deletions

View File

@ -432,8 +432,12 @@
$RAW .= "UID:$start_t-univ-pau-ics\n"; // required $RAW .= "UID:$start_t-univ-pau-ics\n"; // required
if( !is_null($data[1]) ) if( !is_null($data[1]) )
$RAW .= "SUMMARY:${data[1]}\n"; $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 .= "LOCATION:${data[2]}\n";
$RAW .= "DESCRIPTION:${data[2]}\n";
}
$RAW .= "CATEGORIES: UPPA Calendar\n"; $RAW .= "CATEGORIES: UPPA Calendar\n";
$RAW .= "END:VEVENT\n"; $RAW .= "END:VEVENT\n";
} }