fixes PHP notice
This commit is contained in:
+4
-2
@@ -2866,8 +2866,10 @@ class BibEntryDisplay {
|
|||||||
|
|
||||||
if ($this->bib->hasField("pages")) {
|
if ($this->bib->hasField("pages")) {
|
||||||
$pages = $this->bib->getPages();
|
$pages = $this->bib->getPages();
|
||||||
$result[] = array('citation_firstpage',$pages[0]);
|
if (count($pages)==2) {
|
||||||
$result[] = array('citation_lastpage',$pages[1]);
|
$result[] = array('citation_firstpage',$pages[0]);
|
||||||
|
$result[] = array('citation_lastpage',$pages[1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} // end Google Scholar
|
} // end Google Scholar
|
||||||
|
|||||||
Reference in New Issue
Block a user