Permalink
Browse files

Don't redefine priority_zones to nil, after it's been previously set,…

… as fixed on 3.1
  • Loading branch information...
1 parent 6ab147d commit 491d132e979df84ebe0e4cf4a412bc7ff1ef9491 @adamcarlile adamcarlile committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/client_side_validations/action_view/form_builder.rb
@@ -86,7 +86,7 @@ def grouped_collection_select_with_client_side_validations(method, collection, g
def time_zone_select_with_client_side_validations(method, priority_zones = nil, options = {}, html_options = {})
build_validation_options(method, html_options.merge(:name => options[:name]))
html_options.delete(:validate)
- time_zone_select_without_client_side_validations(method, priority_zones = nil, options, html_options)
+ time_zone_select_without_client_side_validations(method, priority_zones, options, html_options)
end
private

0 comments on commit 491d132

Please sign in to comment.