aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Default.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-13 01:35:04 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-13 01:35:04 +0100
commite754a8d985d68daa345e58deddfca9ecb2ba09ba (patch)
tree97946516c77e37732a470e5eed202e9ddd93ccf6 /perllib/FixMyStreet/Cobrand/Default.pm
parent24a3d1c80caf08719463bee762dd759955683913 (diff)
Fix a couple of small bugs.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 332a0052d..249027c5c 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -829,11 +829,10 @@ sub reports_council_check {
my $council = mySociety::MaPit::call( 'area', $area->{parent_area} );
$c->stash->{ward} = $area;
$c->stash->{council} = $council;
- $c->detach( 'redirect_ward' );
} else {
$c->stash->{council} = $area;
- $c->detach( 'redirect_council' );
}
+ $c->detach( 'redirect_area' );
}
}