We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50e7d80 commit 6b8feafCopy full SHA for 6b8feaf
modules/auxiliary/gather/corpwatch_lookup_id.rb
@@ -58,7 +58,7 @@ def run
58
59
loot = ""
60
uri = "/"
61
- uri << (datastore['YEAR']) if datastore['YEAR'] != ""
+ uri << (datastore['YEAR']).to_s if datastore['YEAR'].to_s != ""
62
uri << ("/companies/" + datastore['CW_ID'])
63
64
res = send_request_cgi({
modules/auxiliary/gather/corpwatch_lookup_name.rb
@@ -56,7 +56,7 @@ def run
56
datastore['RPORT'] = 80
57
- uri << (datastore['YEAR'] + "/") if datastore['YEAR'] != ""
+ uri << (datastore['YEAR'].to_s + "/") if datastore['YEAR'].to_s != ""
uri << "companies.xml"
res = send_request_cgi(
0 commit comments