Skip to content

Commit

Permalink
#8700 Updated code to make use of the new safeCount() macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed May 23, 2024
1 parent ce27e8a commit ea45f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/doi/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ public function isAssigned(int $doiId, string $pubObjectType): bool

return Repo::submissionFile()
->getCollector()
->getIds()
->count();
->getQueryBuilder()
->safeCount();
};

$isAssigned = match ($pubObjectType) {
Expand Down

0 comments on commit ea45f32

Please sign in to comment.