Open DoubleBB opened 4 years ago
$VERSION = '2.006002';
The represented_country method of Country object is missing due to a bug in Country.pm
On line 22 of Country.pm in directory GeoIP2/Model/ :
__PACKAGE__->_define_attributes_for_keys( qw( continent country maxmind registered_country traits ));
But it should contain represented_country also:
__PACKAGE__->_define_attributes_for_keys( qw( continent country maxmind registered_country traits represented_country));
Fix: add this to the qw() list. I have tried this fix and it works.
$VERSION = '2.006002';
The represented_country method of Country object is missing due to a bug in Country.pm
On line 22 of Country.pm in directory GeoIP2/Model/ :
But it should contain represented_country also:
Fix: add this to the qw() list. I have tried this fix and it works.