From 320e28fa8f91bc25ac5b5ad9220f877e8ff0f53e Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Sat, 23 Nov 2024 21:11:41 +0100 Subject: [PATCH] Update website --- publi_bib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/publi_bib.php b/publi_bib.php index e5431c6..e53588c 100644 --- a/publi_bib.php +++ b/publi_bib.php @@ -123,7 +123,9 @@ $listener->addProcessor(new Processor\TagNameCaseProcessor(CASE_LOWER)); $listener->addProcessor(new NamesProcessor()); $listener->addProcessor(static function (array $entry) { $entry['title'] = removeBoundingBraces($entry['title']); - $entry['journal'] = expandJournalReferences($entry['journal']); + if (isset($entry['journal'])) { + $entry['journal'] = expandJournalReferences($entry['journal']); + } return $entry; });