소스 검색

Bug Fix: Bundle category not set due to differences in variable name.

Lacey Sanderson 6 년 전
부모
커밋
8e3c2e9d43
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tripal/api/tripal.entities.api.inc

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

@@ -542,7 +542,7 @@ function tripal_create_bundle($args, $job = NULL) {
     }
 
     // Set the bundle category
-    $category = array_key_exists('bundle_category', $args) ? $args['bundle_category'] : 'Other';
+    $category = array_key_exists('category', $args) ? $args['category'] : 'Other';
     tripal_set_bundle_variable('bundle_category', $bundle->id, $category);
 
     // Attache the bundle fields.