소스 검색

National Ag Library pub loader array style fix

dsenalik 4 년 전
부모
커밋
2fe5bd2ef3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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

@@ -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