From 1a9b2ee89d39f2b984d532ccd26dd09bbdba033b Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 14 Aug 2013 18:12:15 +1200 Subject: [PATCH] enotice fix --- CRM/Contact/BAO/Relationship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Relationship.php b/CRM/Contact/BAO/Relationship.php index eba6473838..d2d839c182 100644 --- a/CRM/Contact/BAO/Relationship.php +++ b/CRM/Contact/BAO/Relationship.php @@ -1558,7 +1558,7 @@ cc.sort_name LIKE '%$name%'"; return; } else { - $relationshipDirections = $membershipType['relationship_direction']; + $relationshipDirections = (array) $membershipType['relationship_direction']; // if we have contact_id_a OR contact_id_b we can make a call here // if we have contact?? foreach ($relationshipDirections as $index => $mtdirection) { -- 2.25.1