aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-11-11 18:25:31 +0000
committerDave Whiteland <dave@mysociety.org>2012-11-11 18:25:31 +0000
commit8bb4435aa3caa5e0ffa9accc60f8f02640dddac0 (patch)
treeb8c38473c940581ebebb3d5e377ecc8f40658d1c /perllib/FixMyStreet/App/Controller/Alert.pm
parentf7c869a6f00378be9a43d3676b1a03c2df484ea4 (diff)
parent74c1a09a10d606d9d8850f7fb70b6e578d2c3877 (diff)
Merge branch 'master' into boilerplate-mm-js
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