Unverified Commit 9255499c authored by eileen's avatar eileen 🎱 Committed by GitHub

Merge pull request #11436 from mlutfy/4.7.29-rc-crm21431

CRM-21431: Edit Group: fix removal of group types.
parents 6a0b4a58 b61823df
......@@ -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