From 2b2eb98ecac9a5422438f4e7b757d6be38cef70c Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Thu, 30 Jan 2025 18:48:38 -0500 Subject: [PATCH] Fix uninitialised variable --- ged2site | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ged2site b/ged2site index cf5c9257..f35b3950 100755 --- a/ged2site +++ b/ged2site @@ -12402,7 +12402,7 @@ sub notes } } elsif(ref($hr) eq 'ARRAY') { warn 'TODO: ', Data::Dumper->new([$hr])->Dump(); - } elsif($hr->can('lat') && defined($region) && ($hr->country() eq $region)) { + } elsif($hr->can('lat') && defined($region) && $hr->country() && ($hr->country() eq $region)) { # Geo::Location::Point warn 'TODO: ', Data::Dumper->new([$hr])->Dump(), "\n\t", ref($hr), "\n\t", $hr->as_string(); push @{$note_locations}, {