fix rename bug
This commit is contained in:
parent
28e5a3b978
commit
f02148af35
|
@ -52,7 +52,7 @@ function load_ical_shifts() {
|
||||||
function send_ical_from_shifts($shifts) {
|
function send_ical_from_shifts($shifts) {
|
||||||
header("Content-Type: text/calendar; charset=utf-8");
|
header("Content-Type: text/calendar; charset=utf-8");
|
||||||
$output = "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//-//Engelsystem//DE\r\nCALSCALE:GREGORIAN\r\n";
|
$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 .= make_ical_entry_from_shift($shift);
|
||||||
}
|
}
|
||||||
$output .= "END:VCALENDAR\r\n";
|
$output .= "END:VCALENDAR\r\n";
|
||||||
|
|
Loading…
Reference in New Issue