Skip to content
Snippets Groups Projects
Commit 66fb36a1 authored by seamuslee's avatar seamuslee
Browse files

Merge branch 'CIVICRM-2225' into 'master'

Fixes PHP Fatal error when editing a Group which has at least 1 Parent Group

See merge request !8
parents c23f1b2c 7d05fee8
Branches
Tags 1.15
1 merge request!8Fixes PHP Fatal error when editing a Group which has at least 1 Parent Group
......@@ -525,7 +525,7 @@ function _multisite_alter_form_crm_group_form_edit($formName, &$form) {
if (isset($form->_defaultValues['parents'])) {
$parentOrgs = civicrm_api('group_organization', 'get', [
'version' => 3,
'group_id' => $form->_defaultValues['parents'],
'group_id' => ['IN' => $form->_defaultValues['parents']],
'return' => 'organization_id',
'sequential' => 1,
]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment