diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-07-20 14:02:20 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-07-20 14:02:20 +0100 |
commit | db7060029d12d354facd11cf66e7db6dd4bb1052 (patch) | |
tree | 347bfe453abd8257c8dfe5c72fb9db0ac2d9cf91 /perllib/FixMyStreet/App/Controller | |
parent | 6286c0a7b148f3758488b354764aeb6efcbea22b (diff) |
Move location_offshore warning to standard location_error, so is shown in Ajax pin selection.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Council.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Council.pm b/perllib/FixMyStreet/App/Controller/Council.pm index b513ac930..fbdc5261f 100644 --- a/perllib/FixMyStreet/App/Controller/Council.pm +++ b/perllib/FixMyStreet/App/Controller/Council.pm @@ -88,7 +88,7 @@ sub load_and_check_councils : Private { # If we don't have any councils we can't accept the report if ( !scalar keys %$all_councils ) { - $c->stash->{location_offshore} = 1; + $c->stash->{location_error} = _('That location does not appear to be covered by a council; perhaps it is offshore or outside the country. Please try again.'); return; } |