Skip to content
Snippets Groups Projects
Unverified Commit 3b943db7 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #21318 from michaelmcandrew/dev-core-2798

activity import: prepend custom group title to custom fields
parents 7373a48f 4245bf70
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,9 @@ class CRM_Activity_Import_Parser_Activity extends CRM_Activity_Import_Parser {
$field['type'] = CRM_Utils_Array::value('type', $field, CRM_Utils_Type::T_INT);
$field['dataPattern'] = CRM_Utils_Array::value('dataPattern', $field, '//');
$field['headerPattern'] = CRM_Utils_Array::value('headerPattern', $field, '//');
if (!empty($field['custom_group_id'])) {
$field['title'] = $field["groupTitle"] . ' :: ' . $field["title"];
}
$this->addField($name, $field['title'], $field['type'], $field['headerPattern'], $field['dataPattern']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment