Skip to content

Commit

Permalink
fix: amend variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Chloe070196 committed Dec 4, 2024
1 parent 45e09f0 commit c14764f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/web/RecordDrivers/MarcRecordDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ public function getMoreDetailsOptions() {
$interface->assign('periodicalIssues', $issues);
}
$links = $this->getLinks();
if (Library::getActiveLibrary()->libKeySettingId != -1 && !empty($relatedUrls[0]['url'])) {
if (Library::getActiveLibrary()->libKeySettingId != -1 && !empty($links[0]['url'])) {
$libKeyLink = $this->getLibKeyUrl($links[0]['url']);
if (!empty($libKeyLink)) {
$links[] = ['title' => $libKeyLink, 'url' => $libKeyLink];
Expand Down

0 comments on commit c14764f

Please sign in to comment.