projects
/
lp-csv-to-ics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70bfdb
)
don't serve empty LOCATION fields
author
Andrew Engelbrecht
<andrew@fsf.org>
Fri, 18 Mar 2022 14:53:57 +0000
(10:53 -0400)
committer
Andrew Engelbrecht
<andrew@fsf.org>
Fri, 18 Mar 2022 14:53:57 +0000
(10:53 -0400)
generate-ics
patch
|
blob
|
blame
|
history
diff --git
a/generate-ics
b/generate-ics
index abaacd0edb1e7e31f9f095ba56999b8fae16eb06..2b104f05785de826c11f1a1b9f12f1e9a7fb7599 100755
(executable)
--- a/
generate-ics
+++ b/
generate-ics
@@
-60,7
+60,7
@@
foreach ($csv as $linenum => $line) {
$ics = new ICS(array(
'summary' => $line[2],
'description' => $line[7] ? $line[7] : $line[2],
- 'location' => $line[3],
+ 'location' => $line[3]
? $line[3] : "Anywhere"
,
'dtstart' => $date . "T" . $start_time . "Z",
'dtend' => $date . "T" . $end_time . "Z",
'url' => str_replace("http:", "https:", $line[8]),