]> git.mxchange.org Git - friendica.git/blobdiff - mod/xrd.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / mod / xrd.php
index 801fa9d91b7bfc5bb8306d3d057a55bdd5bcde6b..2626b0c791a1d156b7a913808bf9d7ba09d1b1ae 100644 (file)
@@ -56,8 +56,8 @@ function xrd_init(App $a)
        $alias = str_replace('/profile/', '/~', $profile_url);
 
        $addr = 'acct:'.$user['nickname'].'@'.$a->getHostName();
-       if ($a->getURLpath()) {
-               $addr .= '/'.$a->getURLpath();
+       if ($a->getURLPath()) {
+               $addr .= '/'.$a->getURLPath();
        }
 
        if ($mode == 'xml') {