From e439286dda572ac99793096ef97921134a675bc3 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Tue, 9 Dec 2014 19:19:18 +0530 Subject: [PATCH] CRM-15626 fix - Relationship Create Widget Not always showing the correct available relationships in select tool https://issues.civicrm.org/jira/browse/CRM-15626 --- CRM/Contact/Form/Relationship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index 45ff98c3f9..9639a69365 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -322,7 +322,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { $this->assign('includeWysiwygEditor', TRUE); // Select list - $relationshipList = CRM_Contact_BAO_Relationship::getContactRelationshipType($this->_contactId, $this->_rtype, $this->_relationshipId); + $relationshipList = CRM_Contact_BAO_Relationship::getContactRelationshipType($this->_contactId, $this->_rtype, $this->_relationshipId, NULL, FALSE, 'label', TRUE, NULL, TRUE); // Metadata needed on clientside $contactTypes = CRM_Contact_BAO_ContactType::contactTypeInfo(TRUE); -- 2.25.1