Browse Source

minor bug fix

Stephen Ficklin 6 năm trước cách đây
mục cha
commit
a353b39dfe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;