Skip to content

Commit

Permalink
Merge pull request #121 from rapid7/bug/MS-1528/core-assignment
Browse files Browse the repository at this point in the history
core was being assigned to an ar relation instead of an instance
  • Loading branch information
lsato-r7 committed May 23, 2016
2 parents bcd77c3 + 7d271c9 commit ad49c3d
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 ad49c3d

Please sign in to comment.