projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc3d6bd
)
PHP 7.1 bugfix: undeclared array subdimension with batch CSV export
author
laryn
<laryn@cedc.org>
Wed, 17 Oct 2018 15:36:38 +0000
(10:36 -0500)
committer
laryn
<laryn@cedc.org>
Wed, 17 Oct 2018 15:36:38 +0000
(10:36 -0500)
CRM/Financial/BAO/ExportFormat/CSV.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Financial/BAO/ExportFormat/CSV.php
b/CRM/Financial/BAO/ExportFormat/CSV.php
index 6f3b88b7813ec6142ecca5cbd96e97c52c1ebdb3..4d22cbd2e60d7b844f1cff8fd3f738456f39a68c 100644
(file)
--- a/
CRM/Financial/BAO/ExportFormat/CSV.php
+++ b/
CRM/Financial/BAO/ExportFormat/CSV.php
@@
-160,7
+160,7
@@
class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat
*/
public function formatHeaders($values) {
$arrayKeys = array_keys($values);
- $headers =
''
;
+ $headers =
array()
;
if (!empty($arrayKeys)) {
foreach ($values[$arrayKeys[0]] as $title => $value) {
$headers[] = $title;