Don't alias local var

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2007-05-24 20:42:03 +00:00
parent 04354cd4c2
commit b290bc6b2f

View File

@@ -325,7 +325,7 @@ module ActionController
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