[#18] implementing xcm profiles
This commit is contained in:
parent
8ae3f658c0
commit
8642ab5cfd
6 changed files with 77 additions and 6 deletions
|
@ -139,6 +139,12 @@ class CRM_Twingle_Submission {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
// add xcm profile
|
||||
$xcm_profile = $profile->getAttribute('xcm_profile');
|
||||
if (!empty($xcm_profile)) {
|
||||
$contact_data['xcm_profile'] = $xcm_profile;
|
||||
}
|
||||
|
||||
// add campaign
|
||||
$campaign_id = (int) $profile->getAttribute('campaign');
|
||||
if ($campaign_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue