1
0
Fork 0

replaced forwardurl with forward_path

This commit is contained in:
Philipp Holzer 2018-10-19 23:56:54 +02:00
parent 3edad1591e
commit d51e931db7
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -173,9 +173,9 @@ function dfrn_request_post(App $a)
Contact::updateAvatar($photo, local_user(), $r[0]["id"], true);
}
$forwardurl = "contact/" . $r[0]['id'];
$forward_path = "contact/" . $r[0]['id'];
} else {
$forwardurl = "contact";
$forward_path = "contact";
}
// Allow the blocked remote notification to complete
@ -188,7 +188,7 @@ function dfrn_request_post(App $a)
}
// (ignore reply, nothing we can do it failed)
$a->internalRedirect($forwardurl);
$a->internalRedirect($forward_path);
return; // NOTREACHED
}
}