From a54dc85953ca3e6702d8632710caf8de05e9d1ed Mon Sep 17 00:00:00 2001 From: Stephen Ficklin Date: Thu, 14 Jan 2021 15:25:39 -0800 Subject: [PATCH] PHP 7.0 bug fix --- tripal_chado/includes/TripalImporter/GFF3Importer.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripal_chado/includes/TripalImporter/GFF3Importer.inc b/tripal_chado/includes/TripalImporter/GFF3Importer.inc index 9ed96eaf0..94c40adce 100755 --- a/tripal_chado/includes/TripalImporter/GFF3Importer.inc +++ b/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,