Fixes "JanosBibliographyStyle: Do not show "In " when booktitle is empty "
This commit is contained in:
+3
-3
@@ -2181,15 +2181,15 @@ function JanosBibliographyStyle(&$bibentry) {
|
||||
$booktitle = $bibentry->getField("note");
|
||||
}
|
||||
|
||||
if ($type=="inproceedings") {
|
||||
if ($type=="inproceedings" && $bibentry->hasField(BOOKTITLE)) {
|
||||
$booktitle = 'In '.$bibentry->getField(BOOKTITLE);
|
||||
}
|
||||
|
||||
if ($type=="incollection") {
|
||||
if ($type=="incollection" && $bibentry->hasField(BOOKTITLE)) {
|
||||
$booktitle = 'Chapter in '.$bibentry->getField(BOOKTITLE);
|
||||
}
|
||||
|
||||
if ($type=="article") {
|
||||
if ($type=="article" && $bibentry->hasField("journal")) {
|
||||
$booktitle = 'In '.$bibentry->getField("journal");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user