aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-04-04 09:50:25 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-04-04 09:50:25 +0200
commitafa0d8ff70465e71595165a2f4fb111bac306fd2 (patch)
tree15cf6c82fa095e93e4b3cd23ef51e588a61bca3d /mod
parent92156cd8403fa1521ecf3c3f9ed3823c03c73dcd (diff)
downloadvolse-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.php5
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);
}