aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2015-05-26 15:04:56 +0100
committerDave Arter <davea@mysociety.org>2015-10-06 09:09:27 +0100
commit91e603533b54a184c7c39ed22a8be8b558e02602 (patch)
tree9c8d941034f4393073b8f8501353c7b23f46aac9 /perllib/FixMyStreet
parentb16a1d18087728a84abdd76bc8f69d2cba54c65e (diff)
[Zurich] Don't include external messages in a report's internal notices section
See mysociety/FixMyStreet-Commercial#674, mysociety/FixMyStreet-Commercial#673
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Zurich.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm
index fae39b28b..80874e3f5 100644
--- a/perllib/FixMyStreet/Cobrand/Zurich.pm
+++ b/perllib/FixMyStreet/Cobrand/Zurich.pm
@@ -743,6 +743,8 @@ sub admin_report_edit {
or die "Body $external not found";
$problem->set_extra_metadata_if_undefined( moderated_overdue => $self->overdue( $problem ) );
+ # Create a Comment on this Problem with the content of the external message.
+ # NB this isn't directly shown anywhere, but is for logging purposes.
$problem->add_to_comments( {
text => (
sprintf '(%s %s) %s',