rename TeingleEvent custom field 'contact_id' to 'contact'
This commit is contained in:
parent
9404851285
commit
e25235cbc8
2 changed files with 3 additions and 3 deletions
|
@ -120,7 +120,7 @@ class CRM_TwingleCampaign_BAO_TwingleEvent extends Campaign {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($values['user_name']) {
|
if ($values['user_name']) {
|
||||||
$values['contact_id'] = self::matchContact(
|
$values['contact'] = self::matchContact(
|
||||||
$values['user_name'],
|
$values['user_name'],
|
||||||
$values['user_email']
|
$values['user_email']
|
||||||
);
|
);
|
||||||
|
|
|
@ -286,10 +286,10 @@
|
||||||
"is_view": 1,
|
"is_view": 1,
|
||||||
"weight": 3
|
"weight": 3
|
||||||
},
|
},
|
||||||
"twingle_event_contact_id": {
|
"twingle_event_contact": {
|
||||||
"custom_group_id": "Twingle_Event_Information",
|
"custom_group_id": "Twingle_Event_Information",
|
||||||
"label": "Twingle Event Initiator",
|
"label": "Twingle Event Initiator",
|
||||||
"name": "twingle_event_contact_id",
|
"name": "twingle_event_contact",
|
||||||
"is_required": 0,
|
"is_required": 0,
|
||||||
"is_searchable": 1,
|
"is_searchable": 1,
|
||||||
"data_type": "ContactReference",
|
"data_type": "ContactReference",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue