diff options
-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 => { '!=', '' }, |