diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-04-20 13:21:07 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-04-20 13:21:49 +0100 |
commit | af8eb4acce9ee1e00b9790fd0223fe1667115089 (patch) | |
tree | eb01ad6ac5ee1dbb99398c427dd6f52480f18669 /perllib/FixMyStreet/App/Controller/Council.pm | |
parent | abc88f9a4843690d822f9147a0c6100aa2269182 (diff) |
Inherit new design, site title, Bing working.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Council.pm')
-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 48248e4fe..c4819765a 100644 --- a/perllib/FixMyStreet/App/Controller/Council.pm +++ b/perllib/FixMyStreet/App/Controller/Council.pm @@ -82,7 +82,7 @@ sub load_and_check_councils : Private { $c->cobrand->remove_redundant_councils($all_councils) if $c->stash->{remove_redundant_councils}; # If we don't have any councils we can't accept the report - if ( !scalar keys %$all_councils ) { + if ( !scalar keys %$all_councils || $all_councils->{error}) { $c->stash->{location_offshore} = 1; return; } |