return 'contact_id' in TwingleEvent.get
This commit is contained in:
parent
e25235cbc8
commit
5685c302d9
1 changed files with 3 additions and 0 deletions
|
@ -134,6 +134,9 @@ function civicrm_api3_twingle_event_Get(array $params): array {
|
||||||
$returnValues[$event['id']][$custom_field_mapping_reverse[$key]]
|
$returnValues[$event['id']][$custom_field_mapping_reverse[$key]]
|
||||||
= $value;
|
= $value;
|
||||||
}
|
}
|
||||||
|
elseif ($key == $custom_field_mapping['twingle_event_contact'].'_id') {
|
||||||
|
$returnValues[$event['id']]['contact_id'] = $value;
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
$returnValues[$event['id']][$key] = $value;
|
$returnValues[$event['id']][$key] = $value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue