From 620eae1509d2571596d6f3cd7d4cb3025cf993d3 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 25 Sep 2018 10:39:33 +1200 Subject: [PATCH] Specify export file name rather than call function as it will always be the same without mode --- CRM/Export/BAO/Export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index b28e2996bc..deb2890c50 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -749,7 +749,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c $rows[] = $row; } - CRM_Core_Report_Excel::writeCSVFile(self::getExportFileName(), $header, $rows); + CRM_Core_Report_Excel::writeCSVFile(ts('CiviCRM Contact Search'), $header, $rows); CRM_Utils_System::civiExit(); } -- 2.25.1