From c6c35e0e0cda6bd9302d3127b9aca75fee5bac7e Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Mon, 16 Mar 2009 23:00:00 +0000 Subject: [PATCH] *** empty log message *** --- bibtexbrowser.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 4254fb3..89e7662 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -157,6 +157,7 @@ define('YEAR', 'year'); // we ensure that the pages won't get polluted // if future versions of PHP change warning mechanisms... + @error_reporting(E_ERROR); // default bib file, if no file is specified in the query string. @@ -764,7 +765,14 @@ class BibEntry { } echo ' ('.implode(', ',$editors).', '.(count($editors)>1?'eds.':'ed.').')'; } - echo ", ".$this->getYear()."."; + echo ", ".$this->getYear(); + + if ($this->hasField('comment')) { + echo " (".$this->getField("comment").")"; + } + + echo "."; + echo " [bib]"; if ($this->hasField('url')) {