Skip to content

Commit

Permalink
pkp/pkp-lib#10821 fix identifier tab in galley modal
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Feb 3, 2025
1 parent b40af6e commit 22b4e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/plugins/PubIdPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function getPubId($pubObject)
if (!$pubObject instanceof Issue) {
assert(!is_null($submission));
$issue = Repo::issue()->getBySubmissionId($submission->getId());
$issue = $issue->getJournalId() == $contextId ? $issue : null;
$issue = $issue?->getJournalId() == $contextId ? $issue : null;
}
if ($issue && $contextId != $issue->getJournalId()) {
return null;
Expand Down

0 comments on commit 22b4e31

Please sign in to comment.