summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/cust_tax_exempt_pkg.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_tax_exempt_pkg.cgi b/httemplate/search/cust_tax_exempt_pkg.cgi
index 604502d6f..3a5155ae8 100644
--- a/httemplate/search/cust_tax_exempt_pkg.cgi
+++ b/httemplate/search/cust_tax_exempt_pkg.cgi
@@ -113,7 +113,7 @@ if ( $beginning || $ending ) {
}
if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
- push @where, "agentnum = $1";
+ push @where, "cust_main.agentnum = $1";
}
if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {