X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_request.php;h=b7a0dd7487e6fbbf566c7beb1eb435bcdad7ffb0;hb=b10ae510c0911bf47e8a83fd47a2b9ffdb06c42a;hp=dae2d8852415b81a71cc48f72b777cbe3423bc29;hpb=b6cb7c034f7bdd2ecd085332f44a78a2f1b45f8d;p=friendica.git diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index dae2d88524..b7a0dd7487 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -189,7 +189,6 @@ function dfrn_request_post(App $a) } // (ignore reply, nothing we can do it failed) - // Old: goaway(Profile::zrl($dfrn_url)); goaway($forwardurl); return; // NOTREACHED } @@ -577,7 +576,6 @@ function dfrn_request_content(App $a) 'dfrn_id' => $r[0]['issued-id'], 'intro_id' => $intro[0]['id'], 'duplex' => (($r[0]['page-flags'] == PAGE_FREELOVE) ? 1 : 0), - 'activity' => intval(PConfig::get($r[0]['uid'], 'system', 'post_newfriend')) ]; dfrn_confirm_post($a, $handsfree); } @@ -613,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);