fix use of $->query_string

This commit is contained in:
Fabrixxm 2014-10-22 09:32:24 +02:00
parent 63168905ec
commit f7cf72e450
2 changed files with 5 additions and 8 deletions

View 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();
}