improve handling of internal errors from US Census geocoding, #39549
[freeside.git] / FS / FS / geocode_Mixin.pm
index 0625b5a..bc8c118 100644 (file)
@@ -140,7 +140,7 @@ Returns the full country name.
 
 sub country_full {
   my $self = shift;
-  $self->code2country($self->country);
+  $self->code2country($self->get('country'));
 }
 
 sub code2country {