Browse Source

Remove unnecessary urldecoding for parent attribute

Risharde Ramnath 4 năm trước cách đây
mục cha
commit
70858e9b53
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tripal_chado/includes/TripalImporter/GFF3Importer.inc

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

@@ -1024,7 +1024,7 @@ class GFF3Importer extends TripalImporter {
         $attr_aliases = array_merge($attr_aliases, $tags[$tag_name]);
       }
       elseif (strcmp($tag_name, 'Parent') == 0) {
-        $attr_parent = urldecode($tag[1]);
+        $attr_parent = $tag[1];
       }
       elseif (strcmp($tag_name, 'Dbxref') == 0) {
         $attr_dbxref = array_merge($attr_dbxref, $tags[$tag_name]);