From: Jaap Jansma Date: Tue, 9 Sep 2014 14:13:51 +0000 (+0200) Subject: update fix for bug CRM-15268 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8c4de140695343cf309b474922fea59d3d82614c;p=civicrm-core.git update fix for bug CRM-15268 --- diff --git a/api/v3/Case.php b/api/v3/Case.php index 063d6de4f3..9ff8b495c9 100644 --- a/api/v3/Case.php +++ b/api/v3/Case.php @@ -338,8 +338,9 @@ function civicrm_api3_case_update($params) { $case = array(); _civicrm_api3_object_to_array($dao, $case); + $values[$dao->id] = $case; - return civicrm_api3_create_success($case, $params, 'case', 'update', $dao); + return civicrm_api3_create_success($values, $params, 'case', 'update', $dao); } /**