Skip to content

Commit

Permalink
Item13897: Fix merge error
Browse files Browse the repository at this point in the history
Use $app, not $session.
  • Loading branch information
gac410 committed Nov 1, 2016
1 parent 0cb9233 commit a1d2d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JsonRpcContrib/lib/Foswiki/Contrib/JsonRpcContrib/Server.pm
Expand Up @@ -204,11 +204,11 @@ sub dispatch {
my $url;

if ( $code == 0 && defined $redirectto ) {
$url = $session->redirectto($redirectto);
$url = $app->redirectto($redirectto);
}

if ($url) {
$session->redirect($url);
$app->redirect($url);
}
else {
Foswiki::Contrib::JsonRpcContrib::Response->print(
Expand Down

0 comments on commit a1d2d13

Please sign in to comment.