Browse Source

Fixed a bug that phase 0 is not added to the insert statement

Chun-Huai Cheng 7 years ago
parent
commit
0986d9eef3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_chado/includes/TripalImporter/GFF3Importer.inc

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

@@ -1231,7 +1231,7 @@ class GFF3Importer extends TripalImporter {
             'fmax' => $fmax,
             'strand' => $strand,
           );
-          if ($phase) {
+          if (isset($phase)) {
             $values['phase'] = $phase;
           }
           $result = chado_insert_record('tripal_gffcds_temp', $values);