lib/rsolr/response.rb in rsolr-1.0.12 vs lib/rsolr/response.rb in rsolr-1.0.13
- old
+ new
@@ -88,8 +88,8 @@
class RSolr::HashWithResponse < Hash
include RSolr::Response
def initialize(request, response, result)
super()
- initialize_rsolr_response(request, response, result)
+ initialize_rsolr_response(request, response, result || {})
end
end