diff options
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r-- | perllib/Page.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index ffe16fb9a..0aa06102d 100644 --- a/perllib/Page.pm +++ b/perllib/Page.pm @@ -672,6 +672,7 @@ sub mapit_check_error { return _('That postcode was not recognised, sorry.') if $location->{code} =~ /^4/; return $location->{error}; } + return if mySociety::Config::get('COUNTRY') eq 'NO'; my $island = $location->{coordsyst}; if (!$island) { return _("Sorry, that appears to be a Crown dependency postcode, which we don't cover."); |