add an href for homepage link

This commit is contained in:
Evan Prodromou 2011-09-30 13:22:15 -04:00
parent e3c010a870
commit 1b94625f2f

View File

@ -125,7 +125,10 @@ abstract class ProfileBlock extends Widget
$homepage = $this->homepage();
if (!empty($homepage)) {
$this->out->element('a', 'profile_block_homepage', $homepage);
$this->out->element('a',
array('href' => $homepage,
'class' => 'profile_block_homepage'),
$homepage);
}
}