]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_request.php
fix use of $->query_string
[friendica.git] / mod / dfrn_request.php
index 5e19a1ffc1d25a0a9ca96e0e1a8d6e875063029c..aee8c0306f28cfedeb9850f7a7387d2009d292d9 100644 (file)
@@ -648,12 +648,8 @@ function dfrn_request_content(&$a) {
 
                if(! local_user()) {
                        info( t("Please login to confirm introduction.") . EOL );
-
                        /* setup the return URL to come back to this page if they use openid */
-
-                       $stripped = str_replace('q=','',$a->query_string);
-                       $_SESSION['return_url'] = trim($stripped,'/');
-
+                       $_SESSION['return_url'] = $a->query_string;
                        return login();
                }