aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/send-comments1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/send-comments b/bin/send-comments
index dd60f8451..acd32d53a 100755
--- a/bin/send-comments
+++ b/bin/send-comments
@@ -43,6 +43,7 @@ my $councils = FixMyStreet::App->model('DB::Open311Conf')->search( {
while ( my $council = $councils->next ) {
my $comments = FixMyStreet::App->model('DB::Comment')->search( {
'me.whensent' => undef,
+ 'me.external_id' => undef,
'problem.whensent' => { '!=' => undef },
'problem.external_id' => { '!=' => undef },
'problem.council' => { -like => '%' . $council->area_id .'%' },