fixed duplicate count of relationship, removed extra space, CRM-14201
authorkurund <kurund@civicrm.org>
Tue, 4 Mar 2014 07:14:37 +0000 (12:44 +0530)
committerkurund <kurund@civicrm.org>
Tue, 4 Mar 2014 07:14:37 +0000 (12:44 +0530)
----------------------------------------
* CRM-14201: Contact Relationships tab needs pagination
  http://issues.civicrm.org/jira/browse/CRM-14201

CRM/Contact/BAO/Relationship.php

index 6f4b25712563d2f5f1c0860fdc0af96e6af1a245..0ac52dfb2725d897ce6a7b6d34440d3e5d3bfa38 100644 (file)
@@ -877,7 +877,6 @@ LEFT JOIN  civicrm_country ON (civicrm_address.country_id = civicrm_country.id)
       else {
         $where .= ' AND civicrm_relationship.contact_id_a = ' . CRM_Utils_Type::escape($contactId, 'Positive') . '
                     AND civicrm_relationship.contact_id_a != civicrm_relationship.contact_id_b ';
-
       }
     }
     if ($relationshipId) {