From c0e4463163d4a9b9a8be073964ef960b114c9ea0 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 9 Nov 2012 18:08:05 +0000 Subject: Some fixes for when warnings are on during test run. --- perllib/FixMyStreet/App/Controller/Alert.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm') 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 -- cgit v1.2.3