diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2024-07-03 10:05:17 +0000 |
|---|---|---|
| committer | Rasmus Fuhse <fuhse@data-quest.de> | 2024-07-03 10:05:17 +0000 |
| commit | 9f9d4e7f61ee78f9296f3a6b4e3093b4ec40cc94 (patch) | |
| tree | a339d81664321fb80fe10a6d475ec9a849212b07 /templates/library | |
| parent | 83358ee8215d40dec58c56d54a2a909fc23b9dc4 (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.php | 2 |
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) : ?> |
