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:
cd05fc5
)
Update api/v3/Attachment.php to remove concatenation
author
Josh Brown
<joshbrown8159@gmail.com>
Wed, 5 Feb 2020 08:25:55 +0000
(08:25 +0000)
committer
GitHub
<noreply@github.com>
Wed, 5 Feb 2020 08:25:55 +0000
(08:25 +0000)
Co-Authored-By: colemanw <coleman@civicrm.org>
api/v3/Attachment.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Attachment.php
b/api/v3/Attachment.php
index 13d90286e2fcc1f60d2983c11af657fc33dde477..b2834091f8d3ccc164183b8e254efc1da3f15a76 100644
(file)
--- a/
api/v3/Attachment.php
+++ b/
api/v3/Attachment.php
@@
-147,7
+147,7
@@
function civicrm_api3_attachment_create($params) {
// CRM-17432 Do not use rename() since it will break file permissions.
// Also avoid move_uploaded_file() because the API can use options.move-file.
if (!copy($moveFile, $path)) {
- throw new API_Exception("Cannot copy uploaded file
".$moveFile." to ".$path
);
+ throw new API_Exception("Cannot copy uploaded file
$moveFile to $path"
);
}
unlink($moveFile);
}