From 56272bee132ccbb13665fe49a726b02af60b0514 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Wed, 22 Feb 2017 08:26:22 +1100 Subject: [PATCH] Fix up re-setting of the array in the OIK format --- api/v3/Contact.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/Contact.php b/api/v3/Contact.php index 7dacabf067..2f41854d06 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -386,6 +386,7 @@ function _civicrm_api3_contact_get_supportanomalies(&$params, &$options) { $group = array_search($group, $allGroups); } } + $groups[key($groups)] = $groupsArray; } elseif (is_array($groups)) { foreach ($groups as $k => &$group) { -- 2.25.1