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 /lib | |
| parent | 83358ee8215d40dec58c56d54a2a909fc23b9dc4 (diff) | |
Resolve "Dateibereich: Literaturangaben haben ungeklärte Lizenz"
Closes #4361
Merge request studip/studip!3162
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/classes/librarysearch/LibraryDocument.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/classes/librarysearch/LibraryDocument.php b/lib/classes/librarysearch/LibraryDocument.php index c1d297e..d9eb25b 100644 --- a/lib/classes/librarysearch/LibraryDocument.php +++ b/lib/classes/librarysearch/LibraryDocument.php @@ -196,10 +196,10 @@ class LibraryDocument public function getIdentifiers(): string { $identifiers = []; - if ($this->csl_data['ISBN']) { + if (!empty($this->csl_data['ISBN'])) { $identifiers[] = sprintf(_('ISBN: %s'), $this->csl_data['ISBN']); } - if ($this->csl_data['ISSN']) { + if (!empty($this->csl_data['ISSN'])) { $identifiers[] = sprintf(_('ISSN: %s'), $this->csl_data['ISSN']); } return implode('; ', $identifiers); |
