aboutsummaryrefslogtreecommitdiffstats
path: root/mod/uexport.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-18 17:15:53 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-18 17:15:53 -0700
commit3b1554db2eb1a3d1346103832099d0171b978868 (patch)
treed2c60f6bd5fd78e35bfa2939cfa4cdf43b0655dc /mod/uexport.php
parent27b61b1456cd612d70e299b695cf4d0c99f16222 (diff)
parent37d07a7d2a3808169b87c5033ef413ce957bf2ef (diff)
downloadvolse-hubzilla-3b1554db2eb1a3d1346103832099d0171b978868.tar.gz
volse-hubzilla-3b1554db2eb1a3d1346103832099d0171b978868.tar.bz2
volse-hubzilla-3b1554db2eb1a3d1346103832099d0171b978868.zip
Merge https://github.com/redmatrix/redmatrix into pending_merge
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 4d4beaba3..df66474f1 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));