CRM-14627 additional fix
authormonishdeb <monish.deb@webaccess.co.in>
Fri, 23 May 2014 06:57:01 +0000 (12:27 +0530)
committermonishdeb <monish.deb@webaccess.co.in>
Fri, 23 May 2014 06:57:01 +0000 (12:27 +0530)
----------------------------------------
* CRM-14627: civicrm navigation inconsistent
  https://issues.civicrm.org/jira/browse/CRM-14627

CRM/Contact/BAO/Relationship.php

index d3cff836145375292ab2328df5c87cf490e13055..616e93b6f1ad57741079db416d9ff3429f811422 100644 (file)
@@ -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