Skip to content

Commit

Permalink
core was being assigned to an ar relation instead of an instance
Browse files Browse the repository at this point in the history
MS-1528
  • Loading branch information
lsato-r7 committed May 23, 2016
1 parent bcd77c3 commit 7d271c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/metasploit/credential/importer/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def import_long_form
if Metasploit::Credential::Core.where(core_opts[index]).blank?
core = create_credential_core(core_opts[index])
else
core = Metasploit::Credential::Core.where(core_opts[index])
core = Metasploit::Credential::Core.where(core_opts[index]).first
end


Expand Down

0 comments on commit 7d271c9

Please sign in to comment.