From: eileen Date: Mon, 24 Sep 2018 22:39:33 +0000 (+1200) Subject: Specify export file name rather than call function as it will always be the same... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=620eae1509d2571596d6f3cd7d4cb3025cf993d3;p=civicrm-core.git Specify export file name rather than call function as it will always be the same without mode --- 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(); }