Browse files

Don't alias local var

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 04354cd commit b290bc6b2f3ddefdfecd58d60bfa2517612dbad4 @jeremy jeremy committed May 24, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/request.rb
View
2 actionpack/lib/action_controller/request.rb
@@ -325,7 +325,7 @@ def parse_formatted_request_parameters
strategy = ActionController::Base.param_parsers[mime_type]
# Only multipart form parsing expects a stream.
- body = raw_post if strategy && strategy != :multipart_form
+ body = (strategy && strategy != :multipart_form) ? raw_post : self.body
case strategy
when Proc

0 comments on commit b290bc6

Please sign in to comment.