Commit 5443f072 authored by mattwire's avatar mattwire
Browse files

Fix api3

parent 5607f484
...@@ -35,7 +35,7 @@ class CRM_Groupadmin_Form_Edit extends CRM_Core_Form { ...@@ -35,7 +35,7 @@ class CRM_Groupadmin_Form_Edit extends CRM_Core_Form {
$groupAdminContacts = civicrm_api3('GroupAdminContact', 'get', [ $groupAdminContacts = civicrm_api3('GroupAdminContact', 'get', [
'return' => ['contact_id', 'contact.display_name'], 'return' => ['contact_id', 'contact.display_name'],
'group_id' => $this->groupID, 'group_id' => $this->groupID,
])['values']; ]);
$adminContacts = []; $adminContacts = [];
foreach (($groupAdminContacts ?? []) as $groupAdminContact) { foreach (($groupAdminContacts ?? []) as $groupAdminContact) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment