diff --git a/themes/fid_adlr/templates/get-it-box/links.phtml b/themes/fid_adlr/templates/get-it-box/links.phtml index 68f2d11784edb6dc9bf4330c358635e04cca7ce6..a6409e93e314b3118e02308eacd8b4c428d3d900 100644 --- a/themes/fid_adlr/templates/get-it-box/links.phtml +++ b/themes/fid_adlr/templates/get-it-box/links.phtml @@ -32,7 +32,9 @@ <span id="urlsHideable" style="display: none"> <?php foreach ($fallbackUrls as $current): ?> <?php if (preg_match_all('/doi/', $current['url'])): ?> - <a href="<?=$this->escapeHtmlAttr($this->proxyUrl($current['url']))?>" target="_blank">DOI: <?=$doiName?></a> + <a href="<?=$this->escapeHtmlAttr($this->proxyUrl($current['url']))?>" target="_blank"> + DOI: <?=!empty($doiName) ? $doiName : $current['url'] ?> + </a> <?php endif; ?> <?php endforeach; ?> </span>