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 #1382 from swati-karande/CRM-13146
[civicrm-core.git]
/
api
/
v3
/
Case.php
diff --git
a/api/v3/Case.php
b/api/v3/Case.php
index 856b335a4e64780d9d19e0e0159d9fe059baa614..ef9490fae01409d9f5833b728c408174c38a5b9d 100644
(file)
--- a/
api/v3/Case.php
+++ b/
api/v3/Case.php
@@
-146,6
+146,10
@@
function _civicrm_api3_case_create_spec(&$params) {
$params['contact_id']['title'] = 'Case Client';
$params['contact_id']['api.required'] = 1;
$params['status_id']['api.default'] = 1;
+ $params['medium_id'] = array(
+ 'name' => 'medium_id',
+ 'title' => 'Activity Medium',
+ );
}
/**