Commit b61823df authored by bgm's avatar bgm

CRM-21431: Edit Group: fix removal of group types.

parent 6a0b4a58
......@@ -378,6 +378,11 @@ WHERE title = %1
$params['group_organization'] = $this->_groupOrganizationID;
}
// CRM-21431 If all group_type are unchecked, the change will not be saved otherwise.
if (!isset($params['group_type'])) {
$params['group_type'] = array();
}
$params['is_reserved'] = CRM_Utils_Array::value('is_reserved', $params, FALSE);
$params['custom'] = CRM_Core_BAO_CustomField::postProcess($params,
......
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