Browse Source

tiny bug solved

replace/c24a8d1de403113542ba0936e844151de2785013
Martin Monperrus 15 years ago
parent
commit
acea9e2777
  1. 2
      bibtexbrowser.php

2
bibtexbrowser.php

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

Loading…
Cancel
Save