app/models/wp_version.rb in wpscan-3.8.2 vs app/models/wp_version.rb in wpscan-3.8.3

- old
+ new

@@ -51,10 +51,10 @@ def vulnerabilities return @vulnerabilities if @vulnerabilities @vulnerabilities = [] - [*db_data['vulnerabilities']].each do |json_vuln| + Array(db_data['vulnerabilities']).each do |json_vuln| @vulnerabilities << Vulnerability.load_from_json(json_vuln) end @vulnerabilities end