Browse Source

Fixed missing cv_id

Stephen Ficklin 9 years ago
parent
commit
ddec905ff8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tripal_entities/includes/tripal_entities.entity_form.inc

+ 1 - 0
tripal_entities/includes/tripal_entities.entity_form.inc

@@ -287,6 +287,7 @@ function tripal_entities_add_term_usage($cvterm, &$form_state) {
     // Convert the values array into an object.
     $vocab = new stdClass();
     $vocab->vocabulary_id = $values['vocabulary_id'];
+    $vocab->cv_id = $values['cv_id'];
   }
   else {
     // Make sure the vocabulary is set to publish