diff --git a/modules/fieldgroup/fieldgroup.module b/modules/fieldgroup/fieldgroup.module index 6b5b170..23c4f55 100644 --- a/modules/fieldgroup/fieldgroup.module +++ b/modules/fieldgroup/fieldgroup.module @@ -438,7 +438,7 @@ function fieldgroup_field_overview_form_validate($form, &$form_state) { // to get weights the user doesn't expect. foreach ($form_values as $key => $values) { - if ($values['parent'] == '_add_new_group') { + if (isset($values['parent']) && $values['parent'] == '_add_new_group') { form_set_error('_add_new_group][label', t('Add new group: you need to provide a label.')); form_set_error('_add_new_group][group_name', t('Add new group: you need to provide a group name.')); break;