Skip to content

Commit

Permalink
if no filters are supplied, default to an empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Oct 18, 2012
1 parent 210c841 commit 57d3817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/http/filter_parameters.rb
Expand Up @@ -55,7 +55,7 @@ def env_filter
end

def parameter_filter_for(filters)
@@parameter_filter_for[filters] ||= ParameterFilter.new(filters)
@@parameter_filter_for[filters] ||= ParameterFilter.new(filters || [])
end

KV_RE = '[^&;=]+'
Expand Down

0 comments on commit 57d3817

Please sign in to comment.