From ee60136bcebf3a3c0e77d7f0d5a459e06de15738 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Mon, 3 Mar 2014 13:44:15 -0800 Subject: [PATCH] CRM-9877 - Revert second section of patch. ---------------------------------------- * CRM-9877: Relationship type ommited in dropdown list when it's for all contacts http://issues.civicrm.org/jira/browse/CRM-9877 --- CRM/Contact/BAO/Relationship.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Contact/BAO/Relationship.php b/CRM/Contact/BAO/Relationship.php index d53b74bdeb..89736ae50e 100644 --- a/CRM/Contact/BAO/Relationship.php +++ b/CRM/Contact/BAO/Relationship.php @@ -402,10 +402,6 @@ class CRM_Contact_BAO_Relationship extends CRM_Contact_DAO_Relationship { ) { $relationshipType[$key . '_b_a'] = $value["{$column}_b_a"]; } - elseif (empty($value['contact_type_a'])) { - // case contact_type_a is "all contacts", CRM-9877 - $relationshipType[$key . '_b_a'] = $value["{$column}_b_a"]; - } if ($all) { $relationshipType[$key . '_a_b'] = $value["{$column}_a_b"]; -- 2.25.1