diff options
author | Philip Häusler <msquare@notrademark.de> | 2013-12-29 15:06:18 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2013-12-29 15:06:18 +0100 |
commit | 124cf64d4fc6a277838de491bc6f5bfd443e6019 (patch) | |
tree | 309dbaa4eceade928c214f95d313614048fe97a4 /includes | |
parent | 724d62776f8f00ae56e9ba6fde1be05e43a9c2c5 (diff) |
try to fix ical, but still broken
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/user_ical.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/pages/user_ical.php b/includes/pages/user_ical.php index 34f01942..384979d7 100644 --- a/includes/pages/user_ical.php +++ b/includes/pages/user_ical.php @@ -38,7 +38,8 @@ function user_ical() { $html .= "LOCATION:" . $shift['room_name'] . "\r\n"; $html .= "END:VEVENT\r\n"; } - $html .= "END:VCALENDAR"; + $html .= "END:VCALENDAR\r\n"; + $html = trim($html, "\x0A"); header("Content-Length: " . strlen($html)); echo $html; die(); |