diff options
-rw-r--r-- | mod/dfrn_poll.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 25b28c63c..8dd4d31ed 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -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); } |