optimize invoice rendering with lots of CDRs, RT#15155
authorivan <ivan>
Thu, 17 Nov 2011 23:24:24 +0000 (23:24 +0000)
committerivan <ivan>
Thu, 17 Nov 2011 23:24:24 +0000 (23:24 +0000)
FS/FS/cust_bill_pkg.pm

index 2c15715..58e2419 100644 (file)
@@ -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;