diff options
Diffstat (limited to 'bin/send-comments')
-rw-r--r-- | bin/send-comments | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-comments b/bin/send-comments index 8e263af94..df646a682 100644 --- a/bin/send-comments +++ b/bin/send-comments @@ -42,7 +42,7 @@ my $councils = FixMyStreet::App->model('DB::Open311Conf')->search( { while ( my $council = $councils->next ) { my $comments = FixMyStreet::App->model('DB::Comment')->search( { - 'me.when_sent' => undef, + 'me.whensent' => undef, 'problem.whensent' => { '!=' => undef }, 'problem.external_id' => { '!=' => undef }, 'problem.council' => { -like => '%' . $council->area_id .'%' }, |