aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index e9b4bb9a2..cd1436598 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -600,11 +600,13 @@ sub report_edit : Path('report_edit') : Args(1) {
$c->stash->{problem} = $problem;
+ $c->forward('get_token');
+
if ( $c->cobrand->moniker eq 'zurich' ) {
- $c->cobrand->admin_report_edit();
+ my $done = $c->cobrand->admin_report_edit();
+ return if $done;
}
- $c->forward('get_token');
$c->forward('check_email_for_abuse', [ $problem->user->email ] );
$c->stash->{updates} =