aboutsummaryrefslogtreecommitdiff
path: root/templates/library
diff options
context:
space:
mode:
authorRasmus Fuhse <fuhse@data-quest.de>2024-07-03 10:05:17 +0000
committerRasmus Fuhse <fuhse@data-quest.de>2024-07-03 12:06:09 +0200
commit37eb218e6263e89f926ecb99fe6f2c421d1ac5ae (patch)
tree10e111ecd1b4ad7fef5bef161d429cbe3b42b094 /templates/library
parent5830ca9d1974b4dbec397c771ec975dcb24eff0a (diff)
Resolve "Dateibereich: Literaturangaben haben ungeklärte Lizenz"
Closes #4361 Merge request studip/studip!3162
Diffstat (limited to 'templates/library')
-rw-r--r--templates/library/library_document_info.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/library/library_document_info.php b/templates/library/library_document_info.php
index 1247123..dffdade 100644
--- a/templates/library/library_document_info.php
+++ b/templates/library/library_document_info.php
@@ -2,7 +2,7 @@
$authors = $document->getAuthorNames();
$issue_date = $document->getIssueDate(true);
$identifiers = $document->getIdentifiers();
-$url = ($document->download_url ?: $document->document_url);
+$url = $document->download_url ?? $document->document_url ?? '';
$is_search = !$document->csl_data;
?>
<? if ($is_search) : ?>