Explorar o código

National Ag Library pub loader documentation by spficklin

dsenalik %!s(int64=4) %!d(string=hai) anos
pai
achega
7a38f8aad3

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

@@ -934,7 +934,7 @@ function tripal_pub_AGL_parse_pubxml($pub_xml) {
   // build the full authors list
   if (!array_key_exists('Author List', $pub)) {
     // there is a constraint in chado.pubprop against value being null 
-    $pub['Author List'] = array(['Surname' => 'anonymous']);
+    $pub['Author List'] = [['Surname' => 'anonymous']];
     $pub['Authors'] = 'anonymous';
   }
   else if (is_array($pub['Author List'])) {