From 1b94625f2fb2e0a7c8bdd4efe0d0178f1cd552e2 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 30 Sep 2011 13:22:15 -0400 Subject: [PATCH] add an href for homepage link --- lib/profileblock.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); } }