mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:50:12 +00:00
fix use of $->query_string
This commit is contained in:
parent
63168905ec
commit
f7cf72e450
2 changed files with 5 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue