From b5bcf44354410e2c37d5ec143c7050c3903200ed Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 4 Apr 2011 01:18:28 -0700 Subject: profile not set --- mod/dfrn_poll.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/dfrn_poll.php') diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 25b28c63c..4b25efe41 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -446,6 +446,8 @@ function dfrn_poll_content(&$a) { )); } + $profile = $r[0]['nickname']; + switch($destination_url) { case 'profile': $dest = $a->get_baseurl() . '/profile/' . $profile . '?tab=profile'; @@ -487,7 +489,6 @@ function dfrn_poll_content(&$a) { dbesc($session_id) ); } - $profile = $r[0]['nickname']; goaway($dest); } -- cgit v1.2.3