Explorar el Código

Fix for missing subset with EBI lookup

Stephen Ficklin hace 6 años
padre
commit
eff8a55e14
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tripal_chado/includes/TripalImporter/OBOImporter.inc

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

@@ -1047,7 +1047,7 @@ class OBOImporter extends TripalImporter {
       if (is_array($results['in_subset'])) {
         $stanza['subset'] =  $results['in_subset'];
       }
-      else {
+      elseif($results['in_subset']) {
         $stanza['subset'][0] =  $results['in_subset'];
       }
     }