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 #4806 from civicrm/4.5
[civicrm-core.git]
/
api
/
v3
/
Generic
/
Update.php
diff --git
a/api/v3/Generic/Update.php
b/api/v3/Generic/Update.php
index 68e4fe5e66e7aa7731191394dc76ff9845c5d21c..02743a2c11d95b837e120c5487c9e5e057982927 100644
(file)
--- a/
api/v3/Generic/Update.php
+++ b/
api/v3/Generic/Update.php
@@
-2,7
+2,7
@@
/*
+--------------------------------------------------------------------+
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
5
|
+ | CiviCRM version 4.
6
|
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
@@
-35,7
+35,7
@@
* To do this, perform a 'get' action to load the existing values, then merge in the updates
* and call 'create' to save the revised entity.
*
* To do this, perform a 'get' action to load the existing values, then merge in the updates
* and call 'create' to save the revised entity.
*
- * @param
$apiRequest an
array with keys:
+ * @param
array $apiRequest
array with keys:
* - entity: string
* - action: string
* - version: string
* - entity: string
* - action: string
* - version: string
@@
-72,4
+72,3
@@
function civicrm_api3_generic_update($apiRequest) {
$p = array_merge($existing, $apiRequest['params']);
return civicrm_api($apiRequest['entity'], 'create', $p);
}
$p = array_merge($existing, $apiRequest['params']);
return civicrm_api($apiRequest['entity'], 'create', $p);
}
-