diff --git a/lib/profileblock.php b/lib/profileblock.php index 4e5539496a..1162b78422 100644 --- a/lib/profileblock.php +++ b/lib/profileblock.php @@ -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); } }