Browse Source

National Ag Library pub loader documentation by spficklin

dsenalik 4 years ago
parent
commit
7a38f8aad3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_chado/includes/loaders/tripal_chado.pub_importer_AGL.inc

+ 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'])) {