Navigation Menu

Skip to content

Commit

Permalink
Fix a bug that breaks search under Ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
johnl committed Jul 4, 2013
1 parent 9c06de4 commit e25740c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/news_article_version.rb
Expand Up @@ -70,7 +70,7 @@ def self.xapian_search(query, options = { })
docs[i] = nil
end
end
docs.compact
docs.compact!
end

def self.xapian_db
Expand Down

0 comments on commit e25740c

Please sign in to comment.