diff options
author | ivan <ivan> | 2011-11-17 23:24:24 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-11-17 23:24:24 +0000 |
commit | 07e3614f92d8fed7e43c3527d9ec262764494faa (patch) | |
tree | 5ac143ea129aace235bcb5bce2b94776fc98a3b8 | |
parent | 1c7f3aa1ee9f08ffa621f20e07b5d9915609b4a5 (diff) |
optimize invoice rendering with lots of CDRs, RT#15155
-rw-r--r-- | FS/FS/cust_bill_pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index 2c157150d..58e24192f 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -470,7 +470,7 @@ sub details { my $sql = "SELECT detail FROM cust_bill_pkg_detail ". " WHERE billpkgnum = ". $self->billpkgnum. - " AND ( format IS NULL OR format != 'C' ". + " AND ( format IS NULL OR format != 'C' ) ". " ORDER BY detailnum"; my $sth = dbh->prepare($sql) or die dbh->errstr; $sth->execute or die $sth->errstr; |