Skip to content

Commit

Permalink
Fix mismatched variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 3, 2015
1 parent a28d470 commit 9d05591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/plugins/search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def collect_elements(message, elements)
count_mapper = elements["count"]
if count_mapper
if count_mapper.is_a?(String)
value["count"] = value[mapper]
value["count"] = value[count_mapper]
elsif count_mapper["no_output"]
value.delete("count")
else
Expand Down

0 comments on commit 9d05591

Please sign in to comment.