Skip to content

Commit

Permalink
oops. wrong line
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Feb 15, 2025
1 parent 62995e2 commit 51d7ffa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Zotero.php
Original file line number Diff line number Diff line change
Expand Up @@ -1668,8 +1668,7 @@ public static function find_indentifiers_in_urls(Template $template, ?string $ur
}
$new_pmc = (string) @$match[1] . @$match[2] . @$match[3];
// php stan does not understand that this could because of the insanity of regex and 8-bit characters and PHP bugs end up being empty
// @phpstan-ignore-line
if ($new_pmc === '') {
if ($new_pmc === '') { // @phpstan-ignore-line
bot_debug_log("PMC oops");
return false;
}
Expand Down

0 comments on commit 51d7ffa

Please sign in to comment.