added spaces + curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
c1845c97cc
commit
c86f09a894
7 changed files with 23 additions and 16 deletions
|
@ -63,12 +63,14 @@ function redir_init(App &$a) {
|
|||
. '&dfrn_version=' . DFRN_PROTOCOL_VERSION . '&type=profile&sec=' . $sec . $dest . $quiet );
|
||||
}
|
||||
|
||||
if(local_user())
|
||||
if (local_user()) {
|
||||
$handle = $a->user['nickname'] . '@' . substr($a->get_baseurl(),strpos($a->get_baseurl(),'://')+3);
|
||||
if(remote_user())
|
||||
}
|
||||
if (remote_user()) {
|
||||
$handle = $_SESSION['handle'];
|
||||
}
|
||||
|
||||
if($url) {
|
||||
if ($url) {
|
||||
$url = str_replace('{zid}','&zid=' . $handle,$url);
|
||||
goaway($url);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue