diff options
-rw-r--r-- | includes/pages/user_ical.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_ical.php b/includes/pages/user_ical.php index c38a336c..8db01b62 100644 --- a/includes/pages/user_ical.php +++ b/includes/pages/user_ical.php @@ -52,7 +52,7 @@ function load_ical_shifts() { function send_ical_from_shifts($shifts) { header("Content-Type: text/calendar; charset=utf-8"); $output = "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//-//Engelsystem//DE\r\nCALSCALE:GREGORIAN\r\n"; - foreach ($ical_shifts as $shift) { + foreach ($shifts as $shift) { $output .= make_ical_entry_from_shift($shift); } $output .= "END:VCALENDAR\r\n"; |