aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2015-05-29 16:59:11 +0100
committerDave Arter <davea@mysociety.org>2015-06-30 11:00:56 +0100
commit0ec07300dc6fd0fb455473150917ec8c9e38c22e (patch)
treec822ed7769df3431aa5c283fbcd4894955df86d5 /perllib
parentbf01023635dccf7116b703f4a0634594940d27d6 (diff)
[Greenwich] Include external_id when submitting Open311 reports
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/SendReport/Open311.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/SendReport/Open311.pm b/perllib/FixMyStreet/SendReport/Open311.pm
index d65a8ddb1..cfcac9bd8 100644
--- a/perllib/FixMyStreet/SendReport/Open311.pm
+++ b/perllib/FixMyStreet/SendReport/Open311.pm
@@ -127,8 +127,8 @@ sub send {
$revert = 1;
}
- if ($row->cobrand eq 'fixmybarangay') {
- # FixMyBarangay endpoints expect external_id as an attribute, as do Oxfordshire
+ if ($row->cobrand eq 'fixmybarangay' || $row->cobrand eq 'greenwich') {
+ # FixMyBarangay endpoints expect external_id as an attribute, as do Greenwich
$row->set_extra_fields( { 'name' => 'external_id', 'value' => $row->id } );
$revert = 1;
}