rename TeingleEvent custom field 'contact_id' to 'contact'

This commit is contained in:
Marc Michalsky forumZFD 2021-02-22 13:18:26 +01:00
parent 9404851285
commit e25235cbc8
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
2 changed files with 3 additions and 3 deletions

View file

@ -120,7 +120,7 @@ class CRM_TwingleCampaign_BAO_TwingleEvent extends Campaign {
}
if ($values['user_name']) {
$values['contact_id'] = self::matchContact(
$values['contact'] = self::matchContact(
$values['user_name'],
$values['user_email']
);

View file

@ -286,10 +286,10 @@
"is_view": 1,
"weight": 3
},
"twingle_event_contact_id": {
"twingle_event_contact": {
"custom_group_id": "Twingle_Event_Information",
"label": "Twingle Event Initiator",
"name": "twingle_event_contact_id",
"name": "twingle_event_contact",
"is_required": 0,
"is_searchable": 1,
"data_type": "ContactReference",