fix profile redirect url in dfrn_poll
This commit is contained in:
parent
92156cd840
commit
afa0d8ff70
1 changed files with 3 additions and 2 deletions
|
@ -445,7 +445,8 @@ function dfrn_poll_content(&$a) {
|
|||
'sec' => $sec
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
$profile = $r[0]['nickname'];
|
||||
switch($destination_url) {
|
||||
case 'profile':
|
||||
$dest = $a->get_baseurl() . '/profile/' . $profile . '?tab=profile';
|
||||
|
@ -487,7 +488,7 @@ function dfrn_poll_content(&$a) {
|
|||
dbesc($session_id)
|
||||
);
|
||||
}
|
||||
$profile = $r[0]['nickname'];
|
||||
|
||||
|
||||
goaway($dest);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue