aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2015-05-21 14:39:31 +0100
committerDave Arter <davea@mysociety.org>2015-10-06 09:09:26 +0100
commit7a7938edf398705c2d376025cc86dfbe6c7ee073 (patch)
tree0dd37d28d35b8a24639b0549ec7dab50ec41f84d
parentac0eb14185cfb20b8a1a53a3c504d2661cf99871 (diff)
[Zurich] Keep DM on report edit page after closing report
See mysociety/FixMyStreet-Commercial#690
-rw-r--r--perllib/FixMyStreet/Cobrand/Zurich.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm
index 882e6a5bc..c0fd802da 100644
--- a/perllib/FixMyStreet/Cobrand/Zurich.pm
+++ b/perllib/FixMyStreet/Cobrand/Zurich.pm
@@ -676,7 +676,7 @@ sub admin_report_edit {
$self->set_problem_state($c, $problem, $state);
my $template = ($state eq 'investigating') ? 'problem-wish.txt' : 'problem-external.txt';
_admin_send_email( $c, $template, $problem );
- $redirect = 1;
+ $redirect = 0;
$closed++;
}
# set the external_message in extra, so that it can be edited again
@@ -692,7 +692,7 @@ sub admin_report_edit {
# if $state wasn't set, then we are simply closing the message as fixed
$state ||= 'fixed - council';
_admin_send_email( $c, 'problem-closed.txt', $problem );
- $redirect = 1;
+ $redirect = 0;
$moderated++;
$closed++;
}