CRM-15523 - Add sub-type custom fields to list of available tokens
authorColeman Watts <coleman@civicrm.org>
Fri, 24 Oct 2014 19:33:11 +0000 (15:33 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 24 Oct 2014 19:33:11 +0000 (15:33 -0400)
CRM/Contact/BAO/Contact.php

index dcc9fb0856013ce289296a88c467ce65168c8636..d544bb648070393e10897243f9e12af1e36cfe99 100644 (file)
@@ -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 {