From 295a6afe723c31a404b3bbd703e3b956e5074283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20M=C3=B6llers?= Date: Fri, 27 Mar 2026 00:15:30 +0100 Subject: [PATCH] Fix missing braces in if-statements For notes and comments in JanosBibliographyStyle --- bibtexbrowser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index d474519..113e32a 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -2587,10 +2587,12 @@ function JanosBibliographyStyle($bibentry) { // some comments (e.g. acceptance rate)? if ($bibentry->hasField('comment')) { $result .= " (".$bibentry->getField("comment").")"; + } // some notes (e.g. "accepted for publishing")? if ($bibentry->hasField('note')) { $result .= " (".$bibentry->getField("note").")"; + } // add the Coin URL $result .= "\n".$bibentry->toCoins();