Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
9f525769
Unverified
Commit
9f525769
authored
5 years ago
by
colemanw
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #15953 from eileenmcnaughton/export_bom2
Remove unused parameter
parents
6aa26654
5ae1c8dc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Core/Report/Excel.php
+3
-9
3 additions, 9 deletions
CRM/Core/Report/Excel.php
with
3 additions
and
9 deletions
CRM/Core/Report/Excel.php
+
3
−
9
View file @
9f525769
...
...
@@ -175,13 +175,11 @@ class CRM_Core_Report_Excel {
* If set this will be the title in the CSV.
* @param bool $outputHeader
* Should we output the header row.
* @param bool $saveFile
* -.
*
* @return void
*/
public
static
function
writeCSVFile
(
$fileName
,
$header
,
$rows
,
$titleHeader
=
NULL
,
$outputHeader
=
TRUE
,
$saveFile
=
NULL
)
{
if
(
$outputHeader
&&
!
$saveFile
)
{
public
static
function
writeCSVFile
(
$fileName
,
$header
,
$rows
,
$titleHeader
=
NULL
,
$outputHeader
=
TRUE
)
{
if
(
$outputHeader
)
{
CRM_Utils_System
::
download
(
CRM_Utils_String
::
munge
(
$fileName
),
'text/x-csv'
,
CRM_Core_DAO
::
$_nullObject
,
...
...
@@ -191,11 +189,7 @@ class CRM_Core_Report_Excel {
}
if
(
!
empty
(
$rows
))
{
$print
=
TRUE
;
if
(
$saveFile
)
{
$print
=
FALSE
;
}
return
self
::
makeCSVTable
(
$header
,
$rows
,
$titleHeader
,
$print
,
$outputHeader
);
return
self
::
makeCSVTable
(
$header
,
$rows
,
$titleHeader
,
TRUE
,
$outputHeader
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment