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')) {