From 01f254f70c7a1ad654d28b20a72312ca12f9f6b1 Mon Sep 17 00:00:00 2001 From: Ellen Hendricks Date: Fri, 14 Oct 2016 09:51:41 -0500 Subject: [PATCH] CRM-19471 - Custom relationships for custom contact types not available during export ---------------------------------------- * CRM-19471: Custom relationships for custom contact types not available during export https://issues.civicrm.org/jira/browse/CRM-19471 --- 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 3c8494b642..7a43a95bc4 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -316,7 +316,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { ksort($fields[$value]); if ($mappingType == 'Export') { $relationships = array(); - $relationshipTypes = CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, NULL, NULL, $value); + $relationshipTypes = CRM_Contact_BAO_Relationship::getContactRelationshipType(NULL, NULL, NULL, $value, TRUE); asort($relationshipTypes); foreach ($relationshipTypes as $key => $var) { -- 2.25.1