Explorar o código

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

Chun-Huai Cheng %!s(int64=7) %!d(string=hai) anos
pai
achega
0986d9eef3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);