Explorar o código

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

Fixed a crazy mistake that kept all field instances from being created
Bradford Condon %!s(int64=7) %!d(string=hai) anos
pai
achega
4018877132
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.