diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-02-20 19:13:05 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-02-20 19:13:05 +0000 |
commit | c13987e5cde7b3c3239a03fc1d5932b9b320cea1 (patch) | |
tree | 4da3eca6e9b0052293d9c1103cdcfa8a09c6f6dd /perllib/FixMyStreet/App/Controller/Around.pm | |
parent | 9ce6e383640811b9b51ffe7a46c1b5dfac66e14c (diff) |
Fix tests.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Around.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index 492565bb9..bad269a83 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -43,7 +43,7 @@ sub around_index : Path : Args(0) { my $ret = $c->forward('/location/determine_location_from_coords') || $c->forward('/location/determine_location_from_pc'); return unless $ret; - return $c->res->redirect('/') if $ret == -1; + return $c->res->redirect('/') if $ret == -1 && !$partial_report; # Check to see if the spot is covered by a area - if not show an error. return unless $c->cobrand->moniker eq 'fixmybarangay' || $c->forward('check_location_is_acceptable'); |