summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/user_ical.php3
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();