X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_main%2FBilling.pm;h=639d5945a6c6e2729a4e11b3d7075169b30a6418;hb=a5713014d58b2a6f4d5f795fbda6aa50126c2afb;hp=37eae8c7158dececba938c471187356b43729f44;hpb=197c503fbe112896332e9ca5f17c9c5a2ea4bb87;p=freeside.git diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm index 37eae8c71..639d5945a 100644 --- a/FS/FS/cust_main/Billing.pm +++ b/FS/FS/cust_main/Billing.pm @@ -1617,7 +1617,7 @@ my $self = shift; my @where = (); push @where, "cust_bill_pkg.invnum = ". $cust_bill->invnum; push @where, "cust_bill_pkg.pkgpart_override IS NULL"; - push @where, "part_pkg.freq = 1"; + push @where, "part_pkg.freq = '1'"; push @where, "(cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0)"; push @where, "(cust_pkg.susp IS NULL OR cust_pkg.susp = 0)"; push @where, "0<(SELECT count(*) FROM part_pkg_discount