diff options
author | Dave Whiteland <dave@mysociety.org> | 2012-12-19 09:34:53 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2012-12-19 09:34:53 +0000 |
commit | 4ddc683f0d4819326188072b4733a320097661d5 (patch) | |
tree | 0510039547f00b5326f39f0fabbe20ace28a4273 | |
parent | cb5430eadf420546b438ef84390ed6970d6ae58b (diff) |
fix postcode field name error
-rwxr-xr-x | bin/oxfordshire/open311_service_request.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/oxfordshire/open311_service_request.cgi b/bin/oxfordshire/open311_service_request.cgi index a647008de..de3b56da8 100755 --- a/bin/oxfordshire/open311_service_request.cgi +++ b/bin/oxfordshire/open311_service_request.cgi @@ -351,7 +351,7 @@ sub insert_into_pem { $bindings{":ce_email"} = substr($$h{$F{EMAIL}}, 0, 50); # 'info@exor.co.uk' $bindings{":ce_description"} = substr($description, 0, 2000); # 'Large Pothole' $bindings{":ce_street"} = substr($$h{$F{NEAREST_STREET}}, 0, 80); # calculated/human postcode - $bindings{":postcode"} = substr($postcode, 0, 8); # calculated nearest street + $bindings{":ce_postcode"} = substr($postcode, 0, 8); # calculated nearest street foreach my $name (sort keys %bindings) { next if grep {$name eq $_} (':error_value', ':error_product', ':ce_doc_id'); # return values (see below) |