Browse Source

Merge pull request #485 from tripal/fix-tv3-field_skip

Fixed a crazy mistake that kept all field instances from being created
Bradford Condon 6 years ago
parent
commit
4018877132
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal/api/tripal.entities.api.inc

+ 1 - 1
tripal/api/tripal.entities.api.inc

@@ -724,7 +724,7 @@ function tripal_create_bundle_fields($bundle, $term) {
     }
     
     // Make sure the term is not used for any other existing field instance.
-    $skip = TRUE;
+    $skip = FALSE;
     foreach ($existing_instances as $existing_name => $existing_instance) {
       // If this instance term is the same as this exsiting term and the 
       // instance name is not the same then we have a problem.