combine ticket notification scrips, #15353
[freeside.git] / httemplate / search / cust_tax_exempt_pkg.cgi
index 604502d..3a5155a 100644 (file)
@@ -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+)$/ ) {