export TERM_FILE when mirroring

This commit is contained in:
redmatrix
2015-09-08 19:13:43 -07:00
parent d413b6eba8
commit e6690c818d
2 changed files with 7 additions and 1 deletions

View File

@@ -666,6 +666,7 @@ function identity_export_year($channel_id,$year,$month = 0) {
$target_month = '01';
$ret = array();
$mindate = datetime_convert('UTC','UTC',$year . '-' . $target_month . '-01 00:00:00');
if($month && $month < 12)
$maxdate = datetime_convert('UTC','UTC',$year . '-' . $target_month_plus . '-01 00:00:00');