summaryrefslogtreecommitdiff
path: root/FS/FS/cust_pkg.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-05-13 16:21:27 -0700
committerIvan Kohler <ivan@freeside.biz>2012-05-13 16:21:27 -0700
commitb31455ec31222bd0e882b76895baa794d80acb17 (patch)
treea0730fa7db3421f2ea8d14d839ec65868d0dc7a1 /FS/FS/cust_pkg.pm
parent4cc0b69a94138d85b1ff8b67966127af3c72288d (diff)
add cust_main-custom_content config item for Globelink's custom customer view, RT#17579
Diffstat (limited to 'FS/FS/cust_pkg.pm')
-rw-r--r--FS/FS/cust_pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 1d4a90c56..788b1d363 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -2070,7 +2070,7 @@ sub cust_svc {
}
if ( $opt{'svcdb'} ) {
$search{addl_from} = ' LEFT JOIN part_svc USING ( svcpart ) ';
- $search{hashref}->{svcdb} = $opt{'svcdb'};
+ $search{extra_sql} = ' AND svcdb = '. dbh->quote( $opt{'svcdb'} );
}
cluck "cust_pkg->cust_svc called" if $DEBUG > 2;