summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2010-09-22 22:01:05 +0000
committerivan <ivan>2010-09-22 22:01:05 +0000
commita5713014d58b2a6f4d5f795fbda6aa50126c2afb (patch)
tree71aabd1e848d64093430a3048b4b246fecdba441 /FS
parentcb0b8c862de7c7ab68b172faa29167f47894627b (diff)
fix fallout from discount work, RT#10025
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_main/Billing.pm2
1 files changed, 1 insertions, 1 deletions
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