projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #10661 from jitendrapurohit/CRM-20507
[civicrm-core.git]
/
api
/
v3
/
File.php
diff --git
a/api/v3/File.php
b/api/v3/File.php
index 89eac465ba3b47ab464dda86f2f2aa8f18d9f0ac..33703c5e5bab6cd04a3a3df8ab7aef48fbcfd21e 100644
(file)
--- a/
api/v3/File.php
+++ b/
api/v3/File.php
@@
-116,7
+116,8
@@
function civicrm_api3_file_update($params) {
$fileDAO->save();
}
$file = array();
- _civicrm_api3_object_to_array(clone($fileDAO), $file);
+ $cloneDAO = clone($fileDAO);
+ _civicrm_api3_object_to_array($cloneDAO, $file);
return $file;
}