Browse Source

Fix missing braces in if-statements

For notes and comments in JanosBibliographyStyle
staging
Frederik Möllers 3 weeks ago
parent
commit
295a6afe72
  1. 2
      bibtexbrowser.php

2
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();

Loading…
Cancel
Save