aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/output/url.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/output/url.php b/views/default/output/url.php
index f497a093d..274221a1b 100644
--- a/views/default/output/url.php
+++ b/views/default/output/url.php
@@ -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>";