瀏覽代碼

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

Stephen Ficklin 6 年之前
父節點
當前提交
8bc255a36b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.