diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-02-13 11:22:07 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-02-13 11:22:07 +0000 |
commit | 9db06d0784ecc24a7fa6b12f527ee3628713c98d (patch) | |
tree | 1a6d1ee7e2925325d65b64bcb9e53abe38960cb1 /perllib/FixMyStreet/App/Controller/Report/New.pm | |
parent | 526ec1e90e09f2cd73f7a47f88abe2a2775590f0 (diff) |
Ask for address, and clarify public/private for EmptyHomes.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index da9097ab1..788e57be0 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -833,6 +833,12 @@ sub process_report : Private { $bodies = join( ',', @{ $c->stash->{bodies_to_list} } ) || -1; $report->bodies_str( $bodies ); + my %extra; + $c->cobrand->process_extras( $c, undef, \%extra ); + if ( %extra ) { + $report->extra( \%extra ); + } + } elsif ( $first_area->{id} == COUNCIL_ID_BARNET ) { unless ( exists Utils::barnet_categories()->{ $report->category } ) { |