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:
efecdd6
)
Case API - Fix undefined index
author
Coleman Watts
<coleman@civicrm.org>
Tue, 5 Nov 2013 21:57:19 +0000
(13:57 -0800)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 5 Nov 2013 21:57:19 +0000
(13:57 -0800)
api/v3/Case.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Case.php
b/api/v3/Case.php
index 5f6d4d0debb768c71a35bbdb3224f128fdfe8f92..5bd7c4103f45035ceb31e7c18c9d22ccaf7130e9 100644
(file)
--- a/
api/v3/Case.php
+++ b/
api/v3/Case.php
@@
-302,7
+302,7
@@
function civicrm_api3_case_update($params) {
// get original contact id and creator id of case
if (!empty($params['contact_id'])) {
- $origContactIds = CRM_Case_BAO_Case::retrieveContactIdsByCaseId($params['
case_
id']);
+ $origContactIds = CRM_Case_BAO_Case::retrieveContactIdsByCaseId($params['id']);
$origContactId = $origContactIds[1];
}
@@
-323,7
+323,7
@@
function civicrm_api3_case_update($params) {
}
if (!empty($mCaseId[0])) {
- $params['
case_
id'] = $mCaseId[0];
+ $params['id'] = $mCaseId[0];
}
$dao = new CRM_Case_BAO_Case();