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 289ddfb15..fa00970b4 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -450,6 +450,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();
}