aboutsummaryrefslogtreecommitdiffstats
path: root/mod/uexport.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-17 22:27:41 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-17 22:27:41 -0700
commit75fbf21e6b423a91ff589d2fa349487623bc1a36 (patch)
treebc6995726e8fcde52036f7b5b7bf58d57c5788f6 /mod/uexport.php
parent9f4f967eadd2b330e6b22d659543e8b8272af182 (diff)
downloadvolse-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.php2
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));