diff options
author | AndreaChirulescu <andrea.chirulescu@gmail.com> | 2022-03-28 20:59:54 +0200 |
---|---|---|
committer | AndreaChirulescu <andrea.chirulescu@gmail.com> | 2022-03-28 20:59:54 +0200 |
commit | 1c5ed7afb4bd22c5899f7cbcbdb8ca25d7733682 (patch) | |
tree | 9f536a9d0dfeca05c064bdbcbeb78661debd1c3e /includes | |
parent | 3c714dc6d5b2d3e6036130dd870c9b661adadbad (diff) | |
download | gigologadmin-1c5ed7afb4bd22c5899f7cbcbdb8ca25d7733682.tar.gz gigologadmin-1c5ed7afb4bd22c5899f7cbcbdb8ca25d7733682.tar.bz2 gigologadmin-1c5ed7afb4bd22c5899f7cbcbdb8ca25d7733682.zip |
use correct file name variable when saving file
Diffstat (limited to 'includes')
-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(); } |