aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@fury.ukcod.org.uk>2011-10-24 17:01:52 +0100
committerDave Whiteland <dave@mysociety.org>2012-03-23 13:44:16 +0000
commit45a8adeb2b2698a7f412a0305c824b4a3a4a133c (patch)
tree82d1922d11e95017aed6c83f175974f97c294270
parent2e13c3e6a428d51e3703a2d3cf18c83f55d4b3d2 (diff)
external body for Barnet should not be Barnet CRM
-rwxr-xr-xbin/send-reports4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 3f8452285..3ec5c9e70 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -212,7 +212,7 @@ while (my $row = $unsent->next) {
die 'Report not going anywhere for ID ' . $row->id . '!';
}
- if (mySociety::Config::get('STAGING_SITE')) {
+ if (mySociety::Config::get('STAGING_SITE')) {
# on a staging server send emails to ourselves rather than the councils
@recips = ( mySociety::Config::get('CONTACT_EMAIL') );
$send_web = 0;
@@ -483,7 +483,7 @@ sub post_barnet_message {
# currently not using this: get_EV_ORDER_GUID (maybe that's the customer number in the CRM)
if (my $barnet_id = $result->get_EV_ORDER_NO()) {
$problem->external_id( $barnet_id );
- $problem->external_body( 'Barnet Council CRM' );
+ $problem->external_body( 'Barnet Borough Council' ); # better to use $problem->body()?
$return = 0;
} else {
print "Failed (problem id $h{id}): service returned no external id\n";