summaryrefslogtreecommitdiff
path: root/modules/info/helpers/info_block.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2012-05-12 13:06:18 +0000
committerNathan Kinkade <nath@nkinka.de>2012-05-12 13:06:18 +0000
commitf5098f54b8279f468d94747b1156e15ea05d6d25 (patch)
tree2ecfb6663887ffbc72de8f231864b6c78bd62640 /modules/info/helpers/info_block.php
parenta13fd7f373f3718037a2ce90a3cb408f24856602 (diff)
parentd1390bd87db1a7e59bbd72f5991fbbc6374c98b4 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/info/helpers/info_block.php')
-rw-r--r--modules/info/helpers/info_block.php5
1 files changed, 3 insertions, 2 deletions
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" => "<a href=\"{$theme->item->owner->url}\">" .
- html::clean($display_name) . "</a>"
+ "value" => html::anchor(
+ html::clean($theme->item->owner->url),
+ html::clean($display_name))
);
} else {
$info["owner"] = array(