try to fix ical, but still broken

This commit is contained in:
Philip Häusler 2013-12-29 15:06:18 +01:00
parent 724d62776f
commit 124cf64d4f
1 changed files with 2 additions and 1 deletions

View File

@ -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();