Commit 2e7ab872 authored by KarenS's avatar KarenS

Fix Use of undefined constant _add_new_group.

parent 5e459e98
......@@ -9,6 +9,7 @@ Features:
- #536260 by Agileware: Make "Add more values" button text themeable.
Bugfixes:
- Fix Use of undefined constant _add_new_group.
- Fix undefined index '#depth'.
- Fix warning: Creating default object from empty value in template_preprocess_content_display_overview_form() (line 134 of ..theme.inc).
- #1063338 by DeFr: Fix undefined indexes for FIELD_NAME_rendered and others.
......
......@@ -327,7 +327,7 @@ function content_field_overview_form(&$form_state, $type_name) {
if (!empty($group_types)) {
$current_group_options = $group_options;
$options = fieldgroup_types();
unset($current_group_options[_add_new_group]);
unset($current_group_options['_add_new_group']);
$weight++;
$name = '_add_new_group';
$form[$name] = array(
......
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