summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-12-05 18:15:34 -0800
committerIvan Kohler <ivan@freeside.biz>2012-12-05 18:15:34 -0800
commit2e14c8d3c631b171dcca9781b3c87e338af85e2d (patch)
tree14beaab333bdde287e8e58687ea0c38efd2f2c5a
parent48df303c25948bcc07dbebbec09749d5c4682594 (diff)
support custnum param even though we wound up not using it here, RT#18676
-rw-r--r--httemplate/search/cust_bill_pkg.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
index 1a46b0097..917ec8940 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -175,6 +175,11 @@ if ( $cgi->param('refnum') =~ /^(\d+)$/ ) {
push @where, "cust_main.refnum = $1";
}
+# custnum
+if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {
+ push @where, "cust_main.custnum = $1";
+}
+
#classnum
# not specified: all classes
# 0: empty class