bug in new ip2c.tcl
Closed this issue · 0 comments
pmos69 commented
The check for the existance of the countryArray variable should be done without the $ sign, orelse it will always fail.
in ip2c.tcl at line 184,
if { $cc != "" && [info exists $countryArray($cc)] } {
should be
if { $cc != "" && [info exists countryArray($cc)] } {
As it is, the db tables will be populated with 'Unknown" for the country names.
Tnx,
Pedro Simoes