fixed bug in the new bibtex entry view

This commit is contained in:
Martin Monperrus
2011-10-02 23:08:49 +02:00
parent 378f7eb0f6
commit ec407d9830
+1 -1
View File
@@ -2126,7 +2126,7 @@ class BibEntryDisplay extends BibtexBrowserDisplay {
$download = ''; $download = '';
if ($this->bib->hasField('url')) { if ($this->bib->hasField('url')) {
$download = '<div class="bibentry-document-link"><a href="'.$this->bib->getUrl().'">View PDF</a></div>'; $download = '<div class="bibentry-document-link"><a href="'.$this->bib->getField('url').'">View PDF</a></div>';
} }
$reference= '<div class="bibentry-label">Reference:</div><div class="bibentry-reference">'.strip_tags(bib2html($this->bib)).'</div>'; $reference= '<div class="bibentry-label">Reference:</div><div class="bibentry-reference">'.strip_tags(bib2html($this->bib)).'</div>';