From 8254a79c58ab5f80bfd5549f6141fda8039599ab Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 3 Jan 2017 15:32:12 +0100 Subject: Bugfixes & improvements --- includes/pages/user_ical.php | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/pages/user_ical.php') diff --git a/includes/pages/user_ical.php b/includes/pages/user_ical.php index 0c4bd49a..f9c364e6 100644 --- a/includes/pages/user_ical.php +++ b/includes/pages/user_ical.php @@ -34,6 +34,7 @@ function user_ical() function send_ical_from_shifts($shifts) { header('Content-Type: text/calendar; charset=utf-8'); + header('Content-Disposition: attachment; filename=shifts.ics'); $output = "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//-//Engelsystem//DE\r\nCALSCALE:GREGORIAN\r\n"; foreach ($shifts as $shift) { $output .= make_ical_entry_from_shift($shift); -- cgit v1.3.1