lib/facebooker/session.rb in facebooker-1.0.58 vs lib/facebooker/session.rb in facebooker-1.0.59
- old
+ new
@@ -707,9 +707,10 @@
def uid?
!! @uid
end
def signature_for(params)
+ params.delete_if { |k,v| v.nil? }
raw_string = params.inject([]) do |collection, pair|
collection << pair.map { |x|
Array === x ? Facebooker.json_encode(x) : x
}.join("=")
collection