Przeglądaj źródła

National Ag Library pub loader array style fix

dsenalik 4 lat temu
rodzic
commit
2fe5bd2ef3

+ 1 - 1
tripal_chado/includes/loaders/tripal_chado.pub_importer_AGL.inc

@@ -981,7 +981,7 @@ function tripal_pub_AGL_parse_pubxml($pub_xml) {
     $pub['Author List'] = $newauths;
   }
   else {
-    $pub['Author List'] = array(['Surname' => 'anonymous']);
+    $pub['Author List'] = [['Surname' => 'anonymous']];
   }
 
   // build the citation