aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Bromley.pm
diff options
context:
space:
mode:
authorM Somerville <matthew-github@dracos.co.uk>2020-10-09 08:03:34 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-10-09 08:03:34 +0100
commit0ee2ac92c1b9f79204a32bc56807d0f0ae1a7813 (patch)
treeb53b17d071c3c9a371aed1b70916b51ccedf2e9d /perllib/FixMyStreet/Cobrand/Bromley.pm
parentf32e0900dd8c0a97c2b2214c973394e1fda2cb0e (diff)
parent541bb773ba95e147ababdf015ea83356aeda54b2 (diff)
Merge branch 'prevent-duplicate-site-codes'
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Bromley.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm
index dd8282fa2..c8da01226 100644
--- a/perllib/FixMyStreet/Cobrand/Bromley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bromley.pm
@@ -172,10 +172,11 @@ sub open311_config {
}
sub open311_extra_data_include {
- my ($self, $row, $h, $extra) = @_;
+ my ($self, $row, $h) = @_;
my $title = $row->title;
+ my $extra = $row->get_extra_fields;
foreach (@$extra) {
next unless $_->{value};
$title .= ' | ID: ' . $_->{value} if $_->{name} eq 'feature_id';