Skip to content

Commit 121ab76

Browse files
committed
Merge branch 'nstarke-bugfixes/post-module-execution-causing-duplicate-search-results'
2 parents 9b43749 + d38a95a commit 121ab76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/db_manager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def search_modules(search_string)
678678
union.or(condition)
679679
}
680680

681-
query = query.where(unioned_conditions).uniq
681+
query = query.where(unioned_conditions).to_a.uniq { |m| m.fullname }
682682
end
683683

684684
query

0 commit comments

Comments
 (0)