Skip to content

Commit 5b379a5

Browse files
authored
Merge pull request #1679 from 14113/patch-1
Fix Undefined Variable Error in ip2location_io
2 parents 27ee31a + d0b22a4 commit 5b379a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/geocoder/lookups/ip2location_io.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ def reserved_result(query)
4848
"country_name" => "-",
4949
"region_name" => "-",
5050
"city_name" => "-",
51-
"latitude" => null,
52-
"longitude" => null,
51+
"latitude" => nil,
52+
"longitude" => nil,
5353
"zip_code" => "-",
5454
"time_zone" => "-",
5555
"asn" => "-",

0 commit comments

Comments
 (0)