support custnum param even though we wound up not using it here, RT#18676
[freeside.git] / httemplate / search / cust_bill_pkg.cgi
index 4c0fa4a..ed34440 100644 (file)
@@ -200,6 +200,11 @@ if ( $cgi->param('refnum') =~ /^(\d+)$/ ) {
   push @where, "cust_main.refnum = $1";
 }
 
+# custnum
+if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {
+  push @where, "cust_main.custnum = $1";
+}
+
 # the non-tax case
 if ( $cgi->param('nottax') ) {