diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-08-17 22:27:41 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-08-17 22:27:41 -0700 |
commit | 75fbf21e6b423a91ff589d2fa349487623bc1a36 (patch) | |
tree | bc6995726e8fcde52036f7b5b7bf58d57c5788f6 /mod/uexport.php | |
parent | 9f4f967eadd2b330e6b22d659543e8b8272af182 (diff) | |
download | volse-hubzilla-75fbf21e6b423a91ff589d2fa349487623bc1a36.tar.gz volse-hubzilla-75fbf21e6b423a91ff589d2fa349487623bc1a36.tar.bz2 volse-hubzilla-75fbf21e6b423a91ff589d2fa349487623bc1a36.zip |
add month to export filename when using month
Diffstat (limited to 'mod/uexport.php')
-rw-r--r-- | mod/uexport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/uexport.php b/mod/uexport.php index 6874ceb91..fbbe9953b 100644 --- a/mod/uexport.php +++ b/mod/uexport.php @@ -18,7 +18,7 @@ function uexport_init(&$a) { } header('content-type: application/octet_stream'); - header('content-disposition: attachment; filename="' . $channel['channel_address'] . (($year) ? '-' . $year : '') . '.json"' ); + header('content-disposition: attachment; filename="' . $channel['channel_address'] . (($year) ? '-' . $year : '') . (($month) ? '-' . $month : '') . '.json"' ); if($year) { echo json_encode(identity_export_year(local_channel(),$year,$month)); |