Skip to content

Commit

Permalink
Fix to webform submission
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Jul 14, 2011
1 parent 7ce937d commit 0c279c1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -19,7 +19,7 @@ def form
@result.assign_entry(params[param_str])
end

if request.post? && ! editor?
if params[param_str] && request.post? && ! editor?
@captcha.validate_object(@result, :skip => ! @options.captcha)
if @result.save
@options.deliver_webform_results(@result)
Expand Down

0 comments on commit 0c279c1

Please sign in to comment.