소스 검색

Fixed bug when adding properties from GFF loader

spficklin 12 년 전
부모
커밋
ad26575c11
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      tripal_feature/includes/gff_loader.inc

+ 3 - 1
tripal_feature/includes/gff_loader.inc

@@ -1508,8 +1508,10 @@ function tripal_feature_load_gff3_property($feature, $property, $value) {
       watchdog("T_gff3_loader", "Cannot add cvterm, $property", array(), WATCHDOG_WARNING);
       return 0;  
     }
+  } 
+  else {
+    $cvterm = $result[0];
   }
-  $cvterm = $result[0];
   
 
   // check to see if the property already exists for this feature