aboutsummaryrefslogtreecommitdiffstats
path: root/bin/oxfordshire
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-12-19 09:34:53 +0000
committerDave Whiteland <dave@mysociety.org>2012-12-19 09:34:53 +0000
commit4ddc683f0d4819326188072b4733a320097661d5 (patch)
tree0510039547f00b5326f39f0fabbe20ace28a4273 /bin/oxfordshire
parentcb5430eadf420546b438ef84390ed6970d6ae58b (diff)
fix postcode field name error
Diffstat (limited to 'bin/oxfordshire')
-rwxr-xr-xbin/oxfordshire/open311_service_request.cgi2
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)