diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-04-04 09:50:25 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-04-04 09:50:25 +0200 |
commit | afa0d8ff70465e71595165a2f4fb111bac306fd2 (patch) | |
tree | 15cf6c82fa095e93e4b3cd23ef51e588a61bca3d /mod | |
parent | 92156cd8403fa1521ecf3c3f9ed3823c03c73dcd (diff) | |
download | volse-hubzilla-afa0d8ff70465e71595165a2f4fb111bac306fd2.tar.gz volse-hubzilla-afa0d8ff70465e71595165a2f4fb111bac306fd2.tar.bz2 volse-hubzilla-afa0d8ff70465e71595165a2f4fb111bac306fd2.zip |
fix profile redirect url in dfrn_poll
Diffstat (limited to 'mod')
-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); } |