Ver Fonte

Merge pull request #1153 from tripal/1040-tv3-gff3_performance

Fix for PHP compatibility
Stephen Ficklin há 4 anos atrás
pai
commit
ee38a9c8ba
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tripal_chado/includes/TripalImporter/GFF3Importer.inc

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

@@ -2593,7 +2593,7 @@ class GFF3Importer extends TripalImporter {
     }
 
     // Get the organism object.
-    [$genus, $species] = explode(':', $organism_attr, 2);
+    list($genus, $species) = explode(':', $organism_attr, 2);
     $organism = new ChadoRecord('organism');
     $organism->setValues([
       'genus' => $genus,