Skip to content

Commit

Permalink
portal.acm.org is also bad
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann committed May 11, 2022
1 parent 637bbe8 commit 32a6e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zotero.php
Expand Up @@ -713,7 +713,7 @@ public static function process_zotero_response(string $zotero_response, Template
if ( isset($result->volume)
&& strpos($result->volume, "(") === FALSE ) $template->add_if_new('volume', (string) $result->volume);
if ( isset($result->date) && strlen($result->date)>3)$template->add_if_new('date', tidy_date($result->date));
if ( isset($result->series) && stripos($url, 'portal.acm.org')===FALSE) $template->add_if_new('series' , (string) $result->series);
if ( isset($result->series) && stripos($url, '.acm.org')===FALSE) $template->add_if_new('series' , (string) $result->series);
// Sometimes zotero lists the last name as "published" and puts the whole name in the first place
$i = 0;
while (isset($result->author[$i])) {
Expand Down

0 comments on commit 32a6e49

Please sign in to comment.