From: Evan Prodromou Date: Fri, 30 Sep 2011 17:22:15 +0000 (-0400) Subject: add an href for homepage link X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b94625f2fb2e0a7c8bdd4efe0d0178f1cd552e2;p=quix0rs-gnu-social.git add an href for homepage link --- 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); } }