diff options
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Zurich.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm index ec77c98f0..51daf58f5 100644 --- a/perllib/FixMyStreet/Cobrand/Zurich.pm +++ b/perllib/FixMyStreet/Cobrand/Zurich.pm @@ -151,7 +151,17 @@ sub admin_report_edit { $problem->bodies_str( $body->parent->id ); $problem->state( 'confirmed' ); $problem->update; + # log here + + $c->res->redirect( '/admin/summary' ); + return 1; + } elsif ($c->req->param('no_more_updates')) { + $c->forward('check_token'); + + $problem->bodies_str( $body->parent->id ); + $problem->state( 'planned' ); + $problem->update; # log here $c->res->redirect( '/admin/summary' ); |