code style
authorTim Mallezie <tim.mallezie@chiro.be>
Thu, 12 Feb 2015 17:56:18 +0000 (18:56 +0100)
committerTim Mallezie <tim.mallezie@chiro.be>
Thu, 12 Feb 2015 17:56:18 +0000 (18:56 +0100)
CRM/Contact/BAO/Relationship.php

index 28d42a31fda1672412d202514365acaaff276c47..87ac2ad6dd8ca8a07951ad74fbb0bce7e55dda81 100644 (file)
@@ -1754,7 +1754,7 @@ AND cc.sort_name LIKE '%$name%'";
     if ($params['context'] == 'past') {
       $relationshipStatus = CRM_Contact_BAO_Relationship::INACTIVE;
     }
-    else if ($params['context'] == 'all') {
+    elseif ($params['context'] == 'all') {
       $relationshipStatus = CRM_Contact_BAO_Relationship::ALL;
     }
     else {