fix rename bug

This commit is contained in:
msquare 2016-08-21 23:00:58 +02:00
parent 28e5a3b978
commit f02148af35
1 changed files with 1 additions and 1 deletions

View File

@ -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";