From: Fabio Comuni Date: Mon, 4 Apr 2011 07:50:25 +0000 (+0200) Subject: fix profile redirect url in dfrn_poll X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=afa0d8ff70465e71595165a2f4fb111bac306fd2;p=friendica.git fix profile redirect url in dfrn_poll --- 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); }