]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add an href for homepage link
authorEvan Prodromou <evan@status.net>
Fri, 30 Sep 2011 17:22:15 +0000 (13:22 -0400)
committerEvan Prodromou <evan@status.net>
Fri, 30 Sep 2011 17:22:15 +0000 (13:22 -0400)
lib/profileblock.php

index 4e5539496ae26dc2d89772562d782876d82e5579..1162b784224ebf8e4c126912279b3503b0581d0f 100644 (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);
         }
     }