From f02148af3542ed23a910ed069851e1e7032f7601 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 21 Aug 2016 23:00:58 +0200 Subject: [PATCH] fix rename bug --- includes/pages/user_ical.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";