aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index d90a46b32..0c26220e0 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -222,7 +222,7 @@ sub check_location_is_acceptable : Private {
my $lon = $c->stash->{longitude};
# If in UK and we have a lat,lon coocdinate check it is in UK
- if ( $lat && $c->config->{COUNTRY} eq 'GB' ) {
+ if ( $lat && $c->cobrand->country eq 'GB' ) {
eval { Utils::convert_latlon_to_en( $lat, $lon ); };
if ($@) {
$c->stash->{location_error} =