projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix inaccuracies and mistakes in comments
[civicrm-core.git]
/
CRM
/
Financial
/
BAO
/
ExportFormat.php
diff --git
a/CRM/Financial/BAO/ExportFormat.php
b/CRM/Financial/BAO/ExportFormat.php
index 09c389c3d672ed7c25d8ad98cba126aa839ea0d2..9559a5d4c60d076437386252a8c371e7d3ae867b 100644
(file)
--- a/
CRM/Financial/BAO/ExportFormat.php
+++ b/
CRM/Financial/BAO/ExportFormat.php
@@
-214,7
+214,7
@@
abstract class CRM_Financial_BAO_ExportFormat {
/**
* @param array $files
/**
* @param array $files
- * @param
null
$destination
+ * @param
string
$destination
* @param bool $overwrite
*
* @return bool
* @param bool $overwrite
*
* @return bool
@@
-224,7
+224,7
@@
abstract class CRM_Financial_BAO_ExportFormat {
if (file_exists($destination) && !$overwrite) {
return FALSE;
}
if (file_exists($destination) && !$overwrite) {
return FALSE;
}
- $valid_files = [];
+
if (is_array($files)) {
foreach ($files as $file) {
// make sure the file exists
if (is_array($files)) {
foreach ($files as $file) {
// make sure the file exists