Skip to content
Snippets Groups Projects
Commit 3550c9f6 authored by pratik.joshi's avatar pratik.joshi
Browse files

CRM-12217 fix : the sixth parameter for getFieldsForImport function was not set to true

parent 2cffba69
No related branches found
No related tags found
No related merge requests found
......@@ -865,8 +865,7 @@ SELECT id
$subTypes = CRM_Contact_BAO_ContactType::subTypeInfo();
foreach ($subTypes as $name => $val) {
//custom fields for sub type
$subTypeFields = CRM_Core_BAO_CustomField::getFieldsForImport($name);
$subTypeFields = CRM_Core_BAO_CustomField::getFieldsForImport($name, FALSE, FALSE, FALSE, TRUE, TRUE);
if (array_key_exists($val['parent'], $fields)) {
$fields[$name] = $fields[$val['parent']] + $subTypeFields;
}
......
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