try to fix ical, but still broken

main
Philip Häusler 11 years ago
parent 724d62776f
commit 124cf64d4f

@ -38,7 +38,8 @@ function user_ical() {
$html .= "LOCATION:" . $shift['room_name'] . "\r\n"; $html .= "LOCATION:" . $shift['room_name'] . "\r\n";
$html .= "END:VEVENT\r\n"; $html .= "END:VEVENT\r\n";
} }
$html .= "END:VCALENDAR"; $html .= "END:VCALENDAR\r\n";
$html = trim($html, "\x0A");
header("Content-Length: " . strlen($html)); header("Content-Length: " . strlen($html));
echo $html; echo $html;
die(); die();

Loading…
Cancel
Save