Skip to content

Commit

Permalink
Update expandFns.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Jan 28, 2024
1 parent 0f6d0f2 commit 2750554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expandFns.php
Original file line number Diff line number Diff line change
Expand Up @@ -1409,8 +1409,8 @@ function hdl_works(string $hdl) : string|null|false {
if (strpos($hdl, '10.') === 0 && doi_works($hdl) === FALSE) return FALSE;
$works = is_hdl_works($hdl);
if ($works === NULL) {
if (in_array($doi, NULL_DOI_LIST)) { // These are know to be bad, so only check one time during run
HandleCache::$cache_hdl_bad[$doi] = TRUE;
if (in_array($hdl, NULL_DOI_LIST)) { // These are know to be bad, so only check one time during run
HandleCache::$cache_hdl_bad[$hdl] = TRUE;
return FALSE;
}
HandleCache::$cache_hdl_null[$hdl] = TRUE;
Expand Down

0 comments on commit 2750554

Please sign in to comment.