]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed problem with output/url
authorEvan Winslow <evan.b.winslow@gmail.com>
Thu, 21 Oct 2010 20:18:21 +0000 (20:18 +0000)
committerEvan Winslow <evan.b.winslow@gmail.com>
Thu, 21 Oct 2010 20:18:21 +0000 (20:18 +0000)
views/default/output/url.php

index f497a093d14ddc4a149c3c8593c4af9fe7ea405f..274221a1b22cf3592380d413efa6e4f8789fd42d 100644 (file)
@@ -8,7 +8,7 @@
  * @author Curverider Ltd
  * @link http://elgg.org/
  *
- * @uses string $vars['href'] The string to display in the <a></a> tags
+ * @uses string $vars['body'] The html to insert between the <a></a> tags
  * @uses string $vars['text'] The string between the <a></a> tags.
  * @uses bool $vars['is_action'] Is this a link to an action?
  *
@@ -44,4 +44,4 @@ if (!isset($body)) {
 
 $vars['href'] = $url;
 $attributes = html5_get_html_attributes($vars);
-echo "<a $attributes>$text</a>";
+echo "<a $attributes>$body</a>";