From: Ellen Hendricks Date: Fri, 14 Oct 2016 14:51:41 +0000 (-0500) Subject: CRM-19471 - Custom relationships for custom contact types not available during export X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=01f254f70c7a1ad654d28b20a72312ca12f9f6b1;p=civicrm-core.git 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 --- 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) {