summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/iCalFeed.php (renamed from inc/ical.php)2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/ical.php b/inc/iCalFeed.php
index 7cc30e9..fc30e15 100644
--- a/inc/ical.php
+++ b/inc/iCalFeed.php
@@ -31,7 +31,7 @@ function iCalFeed() {
header('Content-Type: text/calendar; charset=utf-8');
- if ( '0' != $_REQUEST['download'] ) {
+ if ( isset($_REQUEST['download']) && '0' != $_REQUEST['download'] ) {
header('Content-Disposition: attachment; filename="zeitumstellung.ics"');
}