diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-24 11:45:06 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-24 11:45:08 +0100 |
commit | 9a07ebb2f54bde124a3d0b457e2b2ac2545b805c (patch) | |
tree | 355934422ed85f97ed71cc19d65b43c7fa6395b9 /perllib | |
parent | a762ce616ede52c704b2d715d6646db24b176d03 (diff) |
[Bromley] Include ID/PROW in title only if given.
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 0f2f37654..a6d58504c 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -131,6 +131,7 @@ sub open311_config { my $title = $row->title; foreach (@$extra) { + next unless $_->{value}; $title .= ' | ID: ' . $_->{value} if $_->{name} eq 'feature_id'; $title .= ' | PROW ID: ' . $_->{value} if $_->{name} eq 'prow_reference'; } |