Skip to content

Commit

Permalink
Don't alias local var
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed May 24, 2007
1 parent 04354cd commit b290bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/request.rb
Expand Up @@ -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
Expand Down

0 comments on commit b290bc6

Please sign in to comment.