diff options
Diffstat (limited to 'perllib/FixMyStreet/SendReport/Open311.pm')
-rw-r--r-- | perllib/FixMyStreet/SendReport/Open311.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/SendReport/Open311.pm b/perllib/FixMyStreet/SendReport/Open311.pm index dfe0b190a..84aa851ed 100644 --- a/perllib/FixMyStreet/SendReport/Open311.pm +++ b/perllib/FixMyStreet/SendReport/Open311.pm @@ -48,7 +48,7 @@ sub send { if ($_->{code} eq $id_field) { push @$extra, { name => $id_field, value => $row->id }; } elsif ($_->{code} eq 'closest_address' && $h->{closest_address}) { - push @$extra, { name => $_->{code}, value => $h->{$_->{code}} }; + push @$extra, { name => $_->{code}, value => "$h->{closest_address}" }; } elsif ($_->{code} =~ /^(easting|northing)$/) { # NB If there's ever a cobrand with always_send_latlong=0 and # send_notpinpointed=0 then this line will need changing to |