aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/New.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-07-15 10:07:38 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-07-15 10:07:38 +0100
commit6e0d2f66af0da08f6748cbfafeeaaa26c5ff076c (patch)
tree5e7b03333daec4c4c7d9d42426c9a223d1c944a4 /perllib/FixMyStreet/App/Controller/Report/New.pm
parenta84edcaa42fc46f238d370bc453a242c83db6221 (diff)
parentab3799ad3e5147f80a60435dfa720eb71eaef8bf (diff)
Merge branch '1456-do-not-store-display-only-attributes'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index 7822f5cf3..2246f6aea 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -1077,7 +1077,7 @@ sub set_report_extras : Private {
my ($self, $c, $contacts, $param_prefix) = @_;
$param_prefix ||= "";
- my @metalist = map { [ $_->get_metadata_for_input, $param_prefix ] } @$contacts;
+ my @metalist = map { [ $_->get_metadata_for_storage, $param_prefix ] } @$contacts;
push @metalist, map { [ $_->get_extra_fields, "extra[" . $_->id . "]" ] } @{$c->stash->{report_extra_fields}};
my @extra;