Loading field_group.module +5 −5 Original line number Diff line number Diff line Loading @@ -2143,10 +2143,10 @@ function _field_group_element_children_recursive_ref(&$element) { * @param $form The form object itself. */ function field_group_pre_render(&$element, $group, &$form) { // Only run the pre_render function if the group has elements. // $group->group_name if ($element == array()) { // Only run the pre_render function if the group has elements. All groups // have #array_parents & #field_parents set by field_group_fields_nest() // regardless of emptiness. if ($element == array() || !array_diff(array_keys($element), array('#array_parents', '#field_parents'))) { return; } Loading Loading
field_group.module +5 −5 Original line number Diff line number Diff line Loading @@ -2143,10 +2143,10 @@ function _field_group_element_children_recursive_ref(&$element) { * @param $form The form object itself. */ function field_group_pre_render(&$element, $group, &$form) { // Only run the pre_render function if the group has elements. // $group->group_name if ($element == array()) { // Only run the pre_render function if the group has elements. All groups // have #array_parents & #field_parents set by field_group_fields_nest() // regardless of emptiness. if ($element == array() || !array_diff(array_keys($element), array('#array_parents', '#field_parents'))) { return; } Loading