Browse Source

Fixed bug when adding properties from GFF loader

spficklin 12 years ago
parent
commit
ad26575c11
1 changed files with 3 additions and 1 deletions
  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