aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-11-09 18:08:05 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-11-09 18:08:05 +0000
commitc0e4463163d4a9b9a8be073964ef960b114c9ea0 (patch)
tree8724404283e105fb04b857210825ec78cad1e7cb /perllib/FixMyStreet/App/Controller/Alert.pm
parent55fd02987a0816d9d1c8a76b67fa2d44f8d57264 (diff)
Some fixes for when warnings are on during test run.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Alert.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm
index 4e5319a59..91ea61fbc 100644
--- a/perllib/FixMyStreet/App/Controller/Alert.pm
+++ b/perllib/FixMyStreet/App/Controller/Alert.pm
@@ -438,7 +438,7 @@ sub determine_location : Private {
$c->detach('choose');
}
- $c->go('index') if $c->stash->{location_error};
+ $c->go('index');
}
# truncate the lat,lon for nicer urls