Explorar o código

Fixed a crazy mistake that kept all field instances from being created

Stephen Ficklin %!s(int64=6) %!d(string=hai) anos
pai
achega
8bc255a36b
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.