From: monishdeb Date: Fri, 23 May 2014 06:57:01 +0000 (+0530) Subject: CRM-14627 additional fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f1cb718d3c9dfa84bfbe5af4cfafc2d61df1fdb3;p=civicrm-core.git CRM-14627 additional fix ---------------------------------------- * CRM-14627: civicrm navigation inconsistent https://issues.civicrm.org/jira/browse/CRM-14627 --- diff --git a/CRM/Contact/BAO/Relationship.php b/CRM/Contact/BAO/Relationship.php index d3cff83614..616e93b6f1 100644 --- a/CRM/Contact/BAO/Relationship.php +++ b/CRM/Contact/BAO/Relationship.php @@ -1705,7 +1705,7 @@ AND cc.sort_name LIKE '%$name%'"; $contactRelationships[$relationshipId]['relation'] = CRM_Utils_System::href( $values['relation'], 'civicrm/contact/view/rel', - "action=view&reset=1&cid={$values['contact_id_a']}&id={$values['id']}&rtype={$values['rtype']}"); + "action=view&reset=1&cid={$values['cid']}&id={$values['id']}&rtype={$values['rtype']}"); if ($params['context'] == 'current') { if (($params['contact_id'] == $values['contact_id_a'] AND $values['is_permission_a_b'] == 1) OR