Skip to content

Commit

Permalink
convert parameter values to strings before checking empty? closes vol…
Browse files Browse the repository at this point in the history
  • Loading branch information
stve committed Jun 7, 2011
1 parent 0305636 commit 4551d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twitter/json_stream.rb
Expand Up @@ -309,7 +309,7 @@ def uri_base
def params
flat = {}
@options[:params].merge( :track => @options[:filters] ).each do |param, val|
next if val.empty?
next if val.to_s.empty?
val = val.join(",") if val.respond_to?(:join)
flat[escape(param)] = escape(val)
end
Expand Down

0 comments on commit 4551d27

Please sign in to comment.