Browse Source

tiny bug solved

hg/35a367e65a464cf6cdf277c73f977a6828b723fe/bookmarks/master
Martin Monperrus 15 years ago
parent
commit
09ac8dd4fb
  1. 2
      bibtexbrowser.php

2
bibtexbrowser.php

@ -978,7 +978,7 @@ class BibEntry {
// hp as home page
// accents are handled normally
// e.g. @STRING{hp_Jean-MarcJézéquel="http://www.irisa.fr/prive/jezequel/"}
$homepage = 'hp_'.preg_replace('/ /', '', $author);
$homepage = strtolower('hp_'.preg_replace('/ /', '', $author));
if (isset($_GET[Q_DB]->stringdb[$homepage]))
$author='<a href="'.$_GET[Q_DB]->stringdb[$homepage].'">'.$author.'</a>';
return $author;

Loading…
Cancel
Save