~tim/wuparty

a3380f7a8f6ab9b27067571ca77aaef9f2485c4a — Tim Morgan 8 years ago f442a90
Fix filter check for Ruby 1.9
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/wuparty.rb
M lib/wuparty.rb => lib/wuparty.rb +1 -1
@@ 285,7 285,7 @@ class WuParty
    def entries(options={})
      query = {}

      if options[:filters].any?
      if options[:filters]
        query['match'] = options[:filter_match] || 'AND'
        options[:filters].each_with_index do |filter, index|
          query["Filter#{ index + 1 }"] = filter.join(' ')