Fix missing braces in if-statements
For notes and comments in JanosBibliographyStyle
This commit is contained in:
@@ -2587,10 +2587,12 @@ function JanosBibliographyStyle($bibentry) {
|
|||||||
// some comments (e.g. acceptance rate)?
|
// some comments (e.g. acceptance rate)?
|
||||||
if ($bibentry->hasField('comment')) {
|
if ($bibentry->hasField('comment')) {
|
||||||
$result .= " (".$bibentry->getField("comment").")";
|
$result .= " (".$bibentry->getField("comment").")";
|
||||||
|
}
|
||||||
|
|
||||||
// some notes (e.g. "accepted for publishing")?
|
// some notes (e.g. "accepted for publishing")?
|
||||||
if ($bibentry->hasField('note')) {
|
if ($bibentry->hasField('note')) {
|
||||||
$result .= " (".$bibentry->getField("note").")";
|
$result .= " (".$bibentry->getField("note").")";
|
||||||
|
}
|
||||||
|
|
||||||
// add the Coin URL
|
// add the Coin URL
|
||||||
$result .= "\n".$bibentry->toCoins();
|
$result .= "\n".$bibentry->toCoins();
|
||||||
|
|||||||
Reference in New Issue
Block a user