aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Xrd.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Xrd.php')
-rw-r--r--Zotlabs/Module/Xrd.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Xrd.php b/Zotlabs/Module/Xrd.php
index 17c0faa78..9630e9ab4 100644
--- a/Zotlabs/Module/Xrd.php
+++ b/Zotlabs/Module/Xrd.php
@@ -9,6 +9,7 @@ class Xrd extends \Zotlabs\Web\Controller {
function init() {
$uri = urldecode(notags(trim($_GET['uri'])));
+ $subject = $uri;
logger('xrd: ' . $uri,LOGGER_DEBUG);
$resource = $uri;
@@ -47,6 +48,7 @@ class Xrd extends \Zotlabs\Web\Controller {
$o = replace_macros(get_markup_template('xrd_person.tpl'), array(
'$nick' => $r[0]['channel_address'],
'$accturi' => $resource,
+ '$subject' => $subject,
'$aliases' => $aliases,
'$profile_url' => z_root() . '/channel/' . $r[0]['channel_address'],
'$hcard_url' => z_root() . '/hcard/' . $r[0]['channel_address'],