From afa0d8ff70465e71595165a2f4fb111bac306fd2 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 4 Apr 2011 09:50:25 +0200 Subject: [PATCH] fix profile redirect url in dfrn_poll --- mod/dfrn_poll.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 25b28c63ce..8dd4d31ede 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); }