Browse Source

Commented back in fix on table

Stephen Ficklin 7 years ago
parent
commit
3e5b6e4b3c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tripal_ds/tripal_ds.module

+ 2 - 2
tripal_ds/tripal_ds.module

@@ -515,10 +515,10 @@ function tripal_ds_find_field_group_parent($field_name, $entity_type, $bundle, $
   foreach ($fg_for_bundle as $field_groups => $field_group) {
    $field_group_data = unserialize($field_group->data);
    // There is a separate function to deal with tables, so disregard.
-    /*if ($field_group_data['format_type'] == 'table'){
+    if ($field_group_data['format_type'] == 'table'){
       // Do nothing
     }
-    else*/if (!empty($field_group_data['children'][0])) {
+    else if (!empty($field_group_data['children'][0])) {
       $children = $field_group_data['children'];
       //If there is more than one child all need to be checked.
       if (count($children) > 1) {