From 78f3f7c030103f762a55ec2e402939f959968bc6 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 6 Jul 2019 22:05:06 -0400 Subject: [PATCH] Remove irrelevant relationship types from export options --- CRM/Core/BAO/Mapping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index 20155af993..d740ce2a27 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -768,7 +768,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { ksort($fields[$contactType]); if ($mappingType == 'Export') { $relationships = []; - $relationshipTypes = CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, NULL, NULL, $contactType, TRUE); + $relationshipTypes = CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, NULL, NULL, $contactType); asort($relationshipTypes); foreach ($relationshipTypes as $key => $var) { -- 2.25.1