Improve return path in mod/follow
This commit is contained in:
parent
a6a3c268bb
commit
7242b706f0
|
@ -27,7 +27,7 @@ function follow_post(App $a)
|
||||||
|
|
||||||
$uid = local_user();
|
$uid = local_user();
|
||||||
$url = Strings::escapeTags(trim($_REQUEST['url']));
|
$url = Strings::escapeTags(trim($_REQUEST['url']));
|
||||||
$return_path = 'contacts';
|
$return_path = 'follow?url=' . urlencode($url);
|
||||||
|
|
||||||
// Makes the connection request for friendica contacts easier
|
// Makes the connection request for friendica contacts easier
|
||||||
// This is just a precaution if maybe this page is called somewhere directly via POST
|
// This is just a precaution if maybe this page is called somewhere directly via POST
|
||||||
|
|
Loading…
Reference in New Issue
Block a user