diff options
-rwxr-xr-x | bin/send-reports | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-reports b/bin/send-reports index a0c084c1c..174bb2cbf 100755 --- a/bin/send-reports +++ b/bin/send-reports @@ -243,7 +243,7 @@ while (my $row = $unsent->next) { } - unless ($send_method) { + unless ($send_email || $send_method) { die 'Report not going anywhere for ID ' . $row->id . '!'; } @@ -746,4 +746,4 @@ sub update_send_fail_data { send_fail_timestamp => \'ms_current_timestamp()', send_fail_reason => $err_msg } ); -}
\ No newline at end of file +} |