Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item13186: Wrong comment (prior fix)
  • Loading branch information
gac410 committed Jan 9, 2015
1 parent 50e50d9 commit f1205dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/UI.pm
Expand Up @@ -233,6 +233,7 @@ sub handleRequest {
# attempt to verify that the requested function is available on
# this Foswiki. Respond with the serialised dispatcher, and
# finish the request.
# Need to stringify since VERSION is a version object.
if ( $req->header('X-Foswiki-Tickle') ) {
my $data = {
SCRIPT_NAME => $ENV{SCRIPT_NAME},
Expand All @@ -242,7 +243,6 @@ sub handleRequest {
my $res = new Foswiki::Response();
$res->header( -type => 'application/json', -status => '200' );

# Need to allow_blessed since VERSION is a version object.
my $d = JSON->new->allow_nonref->encode($data);
$res->print($d);
return $res;
Expand Down

0 comments on commit f1205dc

Please sign in to comment.