diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-28 15:52:02 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-28 15:52:02 +0100 |
commit | 6798a63297e4954344eefbf51147a971f30b58d2 (patch) | |
tree | aff6cf7bc8f3e6de3271dcaccd81cebd8276e44e /perllib/Open311/PopulateServiceList.pm | |
parent | 323d3a632453bfcd10360fe2c2b9e4d684f350c8 (diff) | |
parent | 8c8b62e2b3a8af1b1f6fafe4080296a3826b7c1e (diff) |
Merge branch 'bexley'
Diffstat (limited to 'perllib/Open311/PopulateServiceList.pm')
-rw-r--r-- | perllib/Open311/PopulateServiceList.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm index d506111ec..ad7288c62 100644 --- a/perllib/Open311/PopulateServiceList.pm +++ b/perllib/Open311/PopulateServiceList.pm @@ -226,7 +226,7 @@ sub _add_meta_to_contact { # turn the data into something a bit more friendly to use my @meta = # remove trailing colon as we add this when we display so we don't want 2 - map { $_->{description} =~ s/:\s*//; $_ } + map { $_->{description} =~ s/:\s*$//; $_ } # there is a display order and we only want to sort once sort { $a->{order} <=> $b->{order} } @{ $meta_data->{attributes} }; |