From 3fe3c09ec31b46b1ed57f4d92074dbf3caa4b294 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 6 May 2012 09:44:12 -0700 Subject: Use html::anchor consistently. Fixes #1851. --- modules/info/helpers/info_block.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/info') diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php index c4470dbe..3dcfa338 100644 --- a/modules/info/helpers/info_block.php +++ b/modules/info/helpers/info_block.php @@ -60,8 +60,9 @@ class info_block_Core { if ($theme->item->owner->url) { $info["owner"] = array( "label" => t("Owner:"), - "value" => "item->owner->url}\">" . - html::clean($display_name) . "" + "value" => html::anchor( + html::clean($theme->item->owner->url), + html::clean($display_name)) ); } else { $info["owner"] = array( -- cgit v1.2.3