aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-07 18:19:49 -0700
committerzotlabs <mike@macgirvin.com>2017-09-07 18:19:49 -0700
commit7e9162ef06b4719723941679e55af079421ae475 (patch)
tree52bb229eb4c42fcd0f38384e2596ccd488f22364 /Zotlabs/Module
parentf09fe8da7814a64e653700b4fe04f165edd90045 (diff)
downloadvolse-hubzilla-7e9162ef06b4719723941679e55af079421ae475.tar.gz
volse-hubzilla-7e9162ef06b4719723941679e55af079421ae475.tar.bz2
volse-hubzilla-7e9162ef06b4719723941679e55af079421ae475.zip
there's the problem
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Magic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Magic.php b/Zotlabs/Module/Magic.php
index 3fe0e1e35..342c11eb9 100644
--- a/Zotlabs/Module/Magic.php
+++ b/Zotlabs/Module/Magic.php
@@ -151,7 +151,7 @@ class Magic extends \Zotlabs\Web\Controller {
$j = json_decode($x['body'],true);
if($j['success'] && $j['token']) {
$x = strpbrk($dest,'?&');
- $args = (($x) ? '&owt=' . $token : '?f=&owt=' . $token) . (($delegate) ? '&delegate=1' : '');
+ $args = (($x) ? '&owt=' . $j['token'] : '?f=&owt=' . $j['token']) . (($delegate) ? '&delegate=1' : '');
goaway($dest . $args);
}
}