aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/Update.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-27 17:28:07 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-27 17:28:07 +0100
commit0c3c4a0be17118ff4d8e01168df5938a947f28f6 (patch)
tree5604f141fa32f8a11e7398253bb8b1ed841fd549 /perllib/FixMyStreet/App/Controller/Report/Update.pm
parentd40180650fbc0060c3d8cfbf9db60ca61b0e7e3a (diff)
council users should be able to set state to confirmed
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/Update.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/Update.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm
index 652694595..1ea0e88b4 100644
--- a/perllib/FixMyStreet/App/Controller/Report/Update.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm
@@ -181,7 +181,7 @@ sub check_for_errors : Private {
$error = 1 unless $c->user && $c->user->from_council && $c->user->from_council == $c->stash->{update}->problem->council;
my $state = $c->req->param('state');
- $error = 1 unless ( grep { $state eq $_ } ( qw/closed fixed investigating planned/, 'in progress', 'fixed', 'fixed - user', 'fixed - council' ) );
+ $error = 1 unless ( grep { $state eq $_ } ( qw/confirmed closed fixed investigating planned/, 'in progress', 'fixed', 'fixed - user', 'fixed - council' ) );
if ( $error ) {
$c->stash->{errors} ||= [];