mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50:11 +00:00
removed unused "f" parameter
This commit is contained in:
parent
51e55bca18
commit
5eeca432fe
5 changed files with 5 additions and 6 deletions
|
@ -97,8 +97,7 @@ class Magic extends BaseModule
|
|||
} else {
|
||||
$token = $j['token'];
|
||||
}
|
||||
$x = strpbrk($dest, '?&');
|
||||
$args = (($x) ? '&owt=' . $token : '?f=&owt=' . $token);
|
||||
$args = (strpbrk($dest, '?&') ? '&' : '?') . 'owt=' . $token;
|
||||
|
||||
Logger::info('Redirecting', ['path' => $dest . $args]);
|
||||
System::externalRedirect($dest . $args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue