diff options
author | Struan Donald <struan@exo.org.uk> | 2012-04-25 12:29:41 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-04-25 12:29:41 +0100 |
commit | fddc199ec409bd97ef47be85c68ff2e188504770 (patch) | |
tree | 5638381e8b5d75be98d38ca571b9e96a5ad7a0c1 | |
parent | 4f9b1fc3a356f9d3c760ac9bb0400c785b06776d (diff) |
open311 sendmethod now has capital o
-rwxr-xr-x | bin/send-comments | 2 | ||||
-rw-r--r-- | perllib/Open311/GetServiceRequestUpdates.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-comments b/bin/send-comments index 3a5d1aa47..388f0ec79 100755 --- a/bin/send-comments +++ b/bin/send-comments @@ -28,7 +28,7 @@ use constant SEND_FAIL_RETRIES_CUTOFF => 3; # send_method config values found in by-area config data, for selecting to appropriate method use constant SEND_METHOD_EMAIL => 'email'; -use constant SEND_METHOD_OPEN311 => 'open311'; +use constant SEND_METHOD_OPEN311 => 'Open311'; # Set up site, language etc. my ($verbose, $nomail) = CronFns::options(); diff --git a/perllib/Open311/GetServiceRequestUpdates.pm b/perllib/Open311/GetServiceRequestUpdates.pm index ac06dc03e..b36bbaa4c 100644 --- a/perllib/Open311/GetServiceRequestUpdates.pm +++ b/perllib/Open311/GetServiceRequestUpdates.pm @@ -15,7 +15,7 @@ sub fetch { my $councils = FixMyStreet::App->model('DB::Open311Conf')->search( { - send_method => 'open311', + send_method => 'Open311', send_comments => 1, comment_user_id => { '!=', undef }, endpoint => { '!=', '' }, |