add select field for XCM profile to extension config page
This commit is contained in:
parent
e460d923f8
commit
e4af927a5b
4 changed files with 72 additions and 56 deletions
|
@ -318,7 +318,7 @@ class TwingleEvent extends Campaign {
|
|||
}
|
||||
try {
|
||||
$contact = civicrm_api3('Contact', 'getorcreate', [
|
||||
'xcm_profile' => 'default',
|
||||
'xcm_profile' => Civi::settings()->get('twinglecampaign_xcm_profile'),
|
||||
'first_name' => $names,
|
||||
'last_name' => $lastname,
|
||||
'email' => $email,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue