diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-13 15:48:48 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-15 00:11:06 +0000 |
commit | 9fb130a0ab1bd36e977439b7697fba5fec5b1f00 (patch) | |
tree | e9c8f3fce2ecf110172b9359e48c436b10e66fee /perllib/FixMyStreet/SendReport/Open311.pm | |
parent | 48d290abd549a623e3af4b62127668cf92018d9c (diff) |
Rename council column to bodies_str, and all the related code.
Diffstat (limited to 'perllib/FixMyStreet/SendReport/Open311.pm')
-rw-r--r-- | perllib/FixMyStreet/SendReport/Open311.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/SendReport/Open311.pm b/perllib/FixMyStreet/SendReport/Open311.pm index f0a76d0fb..c6d838998 100644 --- a/perllib/FixMyStreet/SendReport/Open311.pm +++ b/perllib/FixMyStreet/SendReport/Open311.pm @@ -40,7 +40,7 @@ sub send { my $revert = 0; # Extra bromley fields - if ( $row->bodies == 2482 ) { + if ( $row->bodies_str == 2482 ) { $revert = 1; @@ -90,12 +90,12 @@ sub send { ); # non standard west berks end points - if ( $row->bodies =~ /2619/ ) { + if ( $row->bodies_str =~ /2619/ ) { $open311->endpoints( { services => 'Services', requests => 'Requests' } ); } # required to get round issues with CRM constraints - if ( $row->bodies =~ /2218/ ) { + if ( $row->bodies_str =~ /2218/ ) { $row->user->name( $row->user->id . ' ' . $row->user->name ); $revert = 1; } @@ -124,7 +124,7 @@ sub send { } else { $result *= 1; # temporary fix to resolve some issues with west berks - if ( $row->bodies =~ /2619/ ) { + if ( $row->bodies_str =~ /2619/ ) { $result *= 0; } } |