aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2020-04-23 15:47:59 +0100
committerDave Arter <davea@mysociety.org>2020-07-02 14:38:29 +0100
commitd157073eb872a98f9c697a0e3e959f498a922e12 (patch)
tree16c658d06a55ff20f825004a735c13d21ec26ef4 /perllib/FixMyStreet
parent603cc8c79564cada62a4dfa8d5c12bdd489f02f0 (diff)
Don’t show `sent_to` on moderation diff
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/DB/Result/ModerationOriginalData.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/Result/ModerationOriginalData.pm b/perllib/FixMyStreet/DB/Result/ModerationOriginalData.pm
index 1805e1fd2..6d14e6a9f 100644
--- a/perllib/FixMyStreet/DB/Result/ModerationOriginalData.pm
+++ b/perllib/FixMyStreet/DB/Result/ModerationOriginalData.pm
@@ -163,7 +163,7 @@ sub compare_extra {
my $new = $other->get_extra_metadata;
my $both = { %$old, %$new };
- my @all_keys = sort keys %$both;
+ my @all_keys = grep { $_ ne 'sent_to' } sort keys %$both;
my @s;
foreach (@all_keys) {
if ($old->{$_} && $new->{$_}) {