]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_request.php
Rename App->path to App->urlpath
[friendica.git] / mod / dfrn_request.php
index 6592bf901fbcebd38f8cbe3b9f5ed5272fcb9430..b7a0dd7487e6fbbf566c7beb1eb435bcdad7ffb0 100644 (file)
@@ -611,7 +611,7 @@ function dfrn_request_content(App $a)
                } elseif (x($_GET, 'address') && ($_GET['address'] != "")) {
                        $myaddr = $_GET['address'];
                } elseif (local_user()) {
-                       if (strlen($a->path)) {
+                       if (strlen($a->urlpath)) {
                                $myaddr = System::baseUrl() . '/profile/' . $a->user['nickname'];
                        } else {
                                $myaddr = $a->user['nickname'] . '@' . substr(System::baseUrl(), strpos(System::baseUrl(), '://') + 3);