]> git.cworth.org Git - sup/commitdiff
minor bugfix
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 29 Dec 2006 17:31:28 +0000 (17:31 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 29 Dec 2006 17:31:28 +0000 (17:31 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@118 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/index.rb

index 4e98caef928f60c92d752a22e76ed58467b66f1f..25a48df234b563ea11bf4224b19028e0bf5b48c1 100644 (file)
@@ -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