Skip to content

Commit

Permalink
astanatimes gives bad authors
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Dec 30, 2024
1 parent e461316 commit 783bd26
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) {
if (stripos($url, 'www.royal.uk') !== false || stripos($url, 'astanatimes.com'!== false)) {

Check failure on line 523 in Zotero.php

View workflow job for this annotation

GitHub Actions / build

Parameter #2 $needle of function stripos expects string, true given.
unset($result->creators); // @codeCoverageIgnore
unset($result->author); // @codeCoverageIgnore
}
Expand Down

0 comments on commit 783bd26

Please sign in to comment.