commit 0de0b8b4c3bd857c8fed4f295a2cea35598ea451
parent 66983394cb5d972eb8836ff52729d22a0d7c54e5
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Fri, 29 Dec 2006 17:31:28 +0000
minor bugfix
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@118 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/index.rb b/lib/sup/index.rb
@@ -125,7 +125,7 @@ class Index
end
def num_results_for opts={}
- with(@index.search(build_query(opts)).total_hits) { Redwood::log "num_results_for: have #{x} for query #{query}" }
+ with(@index.search(build_query(opts)).total_hits) { |x| Redwood::log "num_results_for: have #{x} for query #{query}" }
end
## yield all messages in the thread containing 'm' by repeatedly