aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-comments
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-03-26 15:54:58 +0100
committerStruan Donald <struan@exo.org.uk>2012-03-26 15:54:58 +0100
commitc1e5894d576a85d5057a3eb44e88f503133a56b7 (patch)
treef99b89844532cf930c17997829976ce5458dc436 /bin/send-comments
parent53aebcf1e00e44264e7a4fff5fdb18867238601f (diff)
when_sent -> whensent for consistency
Diffstat (limited to 'bin/send-comments')
-rw-r--r--bin/send-comments2
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 .'%' },