summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-03-11 20:05:03 -0800
committerIvan Kohler <ivan@freeside.biz>2016-03-11 20:05:03 -0800
commit3772b8dec61bb23540543552f632a6ef741d02c6 (patch)
treeff5875d0ea800a1fac462efa2608c93f29e3682a /FS/FS/cust_main
parent8be1c9f4cf65aea5218abb49c2123a796fa86fab (diff)
fix customer package browse selection, RT#39822
Diffstat (limited to 'FS/FS/cust_main')
-rw-r--r--FS/FS/cust_main/Packages.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Packages.pm b/FS/FS/cust_main/Packages.pm
index 792c05b..ef8d1a4 100644
--- a/FS/FS/cust_main/Packages.pm
+++ b/FS/FS/cust_main/Packages.pm
@@ -485,7 +485,8 @@ sub ncancelled_pkgs {
$self->custnum. "\n"
if $DEBUG > 1;
- $extra_qsearch->{'extra_sql'} .= ' AND ( cancel IS NULL OR cancel = 0 ) ';
+ $extra_qsearch->{'extra_sql'} .=
+ ' AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 ) ';
@cust_pkg = $self->_cust_pkg($extra_qsearch);