tiny bug solved

This commit is contained in:
Martin Monperrus
2010-10-10 12:32:43 +02:00
parent 653039401f
commit acea9e2777
+1 -1
View File
@@ -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;