Browse Source

minor bug fix

Stephen Ficklin 6 years ago
parent
commit
a353b39dfe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_chado/includes/TripalImporter/OBOImporter.inc

+ 1 - 1
tripal_chado/includes/TripalImporter/OBOImporter.inc

@@ -2024,7 +2024,7 @@ class OBOImporter extends TripalImporter {
       $cv->insert();
       $cv = (object) $cv->getValues();
       $this->all_cvs[$cvname] = $cv;
-      $this->obo_namespaces[$cvname] = $cv->getID();
+      $this->obo_namespaces[$cvname] = $cv->cv_id;
     }
     
     return $cv;