diff options
-rw-r--r-- | includes/ical_export.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ical_export.php b/includes/ical_export.php index ec45b13..9a3b0c0 100644 --- a/includes/ical_export.php +++ b/includes/ical_export.php @@ -77,7 +77,7 @@ if ( ! class_exists( "GiglogAdmin_IcalExport" ) ) ->createCalendar(); header( 'Content-Type: text/calendar' ); - header( 'content-disposition: attachment;filename='.$cshortname.'.ics'); + header( 'content-disposition: attachment;filename='.$filename.'.ics'); echo $vcalendarString; die(); } |