Fix missing braces in if-statements

For notes and comments in JanosBibliographyStyle
This commit is contained in:
Frederik Möllers
2026-03-27 00:15:30 +01:00
parent d51bd29402
commit 295a6afe72
+2
View File
@@ -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();