aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/events.php b/mod/events.php
index a89bbb760..02c453562 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -451,6 +451,7 @@ function events_content(&$a) {
if($export) {
header('Content-type: text/calendar');
+ header('content-disposition: attachment; filename="' . t('calendar') . '-' . $channel['channel_address'] . '.ics"' );
echo ical_wrapper($r);
killme();
}