From ce953e2f41c2bf8abdda2584dd84c2bd0175f609 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 7 Jan 2015 14:35:03 -0800 Subject: syncing connections issue, incorrect return_url after deleting connection --- mod/connections.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/connections.php') diff --git a/mod/connections.php b/mod/connections.php index 70e28913a..d36734ccb 100644 --- a/mod/connections.php +++ b/mod/connections.php @@ -179,7 +179,8 @@ function connections_content(&$a) { $unconnected = false; $all = false; - $_SESSION['return_url'] = $a->query_string; + if(! $_REQUEST['aj']) + $_SESSION['return_url'] = $a->query_string; $search_flags = 0; $head = ''; -- cgit v1.2.3