Skip to content

Commit

Permalink
[#188 state:commited]
Browse files Browse the repository at this point in the history
The new CGI object must be send as a parameter, not directly assigned to $app->query;
Changed line 165 from:
  $app->query = CGI->new( $app->{no_read_body} ? {} : () );
to
  $app->query ( CGI->new( $app->{no_read_body} ? {} : () ));
  • Loading branch information
Mixel committed Nov 11, 2009
1 parent 033f4a1 commit b29ff16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MT/App.pm
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ sub init_request {
delete $ENV{PATH_INFO};
}
}
$app->query = CGI->new( $app->{no_read_body} ? {} : () );
$app->query( CGI->new( $app->{no_read_body} ? {} : ()) );
}
}
$app->init_query();
Expand Down

0 comments on commit b29ff16

Please sign in to comment.