diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-22 17:26:39 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-22 17:26:39 +0100 |
commit | 1197e4ce772e433927a146c39cc13ee96e17fd17 (patch) | |
tree | 426c51bc555a463ac41b0c0585dde275e1b31f2b /perllib/FixMyStreet/App/Controller | |
parent | b16213a1bc7d615d1ce09051a9f4573b190c1b09 (diff) |
do not forget extra 311 field data if we need to display an error
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 2 |
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 a2c5e6a0c..2318ee9e1 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -884,7 +884,7 @@ sub process_report : Private { $c->cobrand->process_extras( $c, $contacts[0]->area_id, \@extra ); if ( @extra ) { - $c->stash->{report_meta} = \@extra; + $c->stash->{report_meta} = { map { $_->{name} => $_ } @extra }; $report->extra( \@extra ); } } elsif ( @{ $c->stash->{area_ids_to_list} } ) { |