From ee3e73d7e159b1d49c066485334848096bd57448 Mon Sep 17 00:00:00 2001 From: Irka Date: Tue, 5 Aug 2014 10:40:47 +0200 Subject: [PATCH] MT#8433 Fix of option ttreatment in newest version. --- share/tools/generate_invoices.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/tools/generate_invoices.pl b/share/tools/generate_invoices.pl index be523cfded..6f997d3d60 100755 --- a/share/tools/generate_invoices.pl +++ b/share/tools/generate_invoices.pl @@ -281,7 +281,7 @@ sub get_invoice_data_raw{ } sub check_unrated_calls{ if($opt->{force_unrated}){ - return; + return 1; } my $unrated_calls_info = $dbh->selectall_arrayref('select cdr.source_account_id, from_unixtime(min(cdr.start_time)) as start_time_min, from_unixtime(max(cdr.start_time)) as start_time_max, count(*) as calls_number from accounting.cdr