From b4a3b6b9d2e0d78c2ef3f4effd203163b1ac6d63 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 24 Oct 2014 15:33:11 -0400 Subject: [PATCH] CRM-15523 - Add sub-type custom fields to list of available tokens --- CRM/Contact/BAO/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index dcc9fb0856..d544bb6480 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -1445,7 +1445,7 @@ WHERE id={$id}; "; if ($contactType != 'All') { $fields = array_merge($fields, - CRM_Core_BAO_CustomField::getFieldsForImport($contactType, $status, TRUE, $search, TRUE, $withMultiRecord) + CRM_Core_BAO_CustomField::getFieldsForImport($contactType, $status, FALSE, $search, TRUE, $withMultiRecord) ); } else { -- 2.25.1