Skip to content

Commit

Permalink
Return string if that's what the geocoder returns
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Apr 16, 2019
1 parent 113bb76 commit fcadc2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Geo/Coder/List.pm
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ sub reverse_geocode {
}
return @rc;
} elsif(my $rc = $geocoder->reverse_geocode(@params)) {
return $rc if(!ref($rc));
print Data::Dumper->new([$rc])->Dump() if(DEBUG >= 2);
if($rc->{'display_name'}) {
# OSM
Expand Down

0 comments on commit fcadc2c

Please sign in to comment.