diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-23 01:20:26 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-23 01:20:26 -0700 |
commit | b8b227b32882fb511c8481a41c53637e7ce7707a (patch) | |
tree | 9116351081efa6547268a62332dc4385b1422fbd /mod/profile.php | |
parent | d850badf2b5717afe39a5fd96dabd29aa013910a (diff) | |
download | volse-hubzilla-b8b227b32882fb511c8481a41c53637e7ce7707a.tar.gz volse-hubzilla-b8b227b32882fb511c8481a41c53637e7ce7707a.tar.bz2 volse-hubzilla-b8b227b32882fb511c8481a41c53637e7ce7707a.zip |
add nicknames to contact records (going forward and retroactive)
Diffstat (limited to 'mod/profile.php')
-rw-r--r-- | mod/profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php index f99a3c4f2..6c60ea8ac 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -65,7 +65,7 @@ function profile_init(&$a) { $a->page['htmlhead'] .= '<meta name="dfrn-global-visibility" content="' . (($a->profile['net-publish']) ? 'true' : 'false') . '" />' . "\r\n" ; $a->page['htmlhead'] .= '<link rel="alternate" type="application/atom+xml" href="' . $a->get_baseurl() . '/dfrn_poll/' . $which .'" />' . "\r\n" ; - $uri = urlencode('acct:' . $a->user['nickname'] . '@' . $a->get_hostname() . (($a->path) ? '/' . $a->path : '')); + $uri = urlencode('acct:' . $a->profile['nickname'] . '@' . $a->get_hostname() . (($a->path) ? '/' . $a->path : '')); $a->page['htmlhead'] .= '<link rel="lrdd" type="application/xrd+xml" href="' . $a->get_baseurl() . '/xrd/?uri=' . $uri . '" />' . "\r\n"; header('Link: <' . $a->get_baseurl() . '/xrd/?uri=' . $uri . '>; rel="lrdd"; type="application/xrd+xml"'); |