Skip to content

Commit

Permalink
Update Zotero.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Dec 30, 2024
1 parent 783bd26 commit 0ce52ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zotero.php
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ public static function process_zotero_response(string $zotero_response, Template
if (isset($result->publicationTitle) && substr($result->publicationTitle, -2) === " |") {
$result->publicationTitle = substr($result->publicationTitle, 0, -2);
}
if (stripos($url, 'www.royal.uk') !== false || stripos($url, 'astanatimes.com'!== false)) {
if (stripos($url, 'www.royal.uk') !== false || stripos($url, 'astanatimes.com') !== false) {
unset($result->creators); // @codeCoverageIgnore
unset($result->author); // @codeCoverageIgnore
}
Expand Down

0 comments on commit 0ce52ec

Please sign in to comment.