summaryrefslogtreecommitdiff
path: root/includes/pages
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-08-21 23:00:58 +0200
committermsquare <msquare@notrademark.de>2016-08-21 23:00:58 +0200
commitf02148af3542ed23a910ed069851e1e7032f7601 (patch)
treebccdebeadd4ee688619d47093f53d91e6605bf27 /includes/pages
parent28e5a3b978c705e20457b5c71a086e6ba23757d0 (diff)
fix rename bug
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/user_ical.php2
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";