From c1e5894d576a85d5057a3eb44e88f503133a56b7 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Mon, 26 Mar 2012 15:54:58 +0100 Subject: when_sent -> whensent for consistency --- bin/send-comments | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/send-comments') 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 .'%' }, -- cgit v1.2.3