summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pkg_discount.html
diff options
context:
space:
mode:
authorivan <ivan>2010-08-15 07:00:21 +0000
committerivan <ivan>2010-08-15 07:00:21 +0000
commit55476aa0484f5ebada5f36e1407722d84609bd34 (patch)
tree56509008c166ace467f2ac2ef8688ac2afcfe6b9 /httemplate/search/cust_pkg_discount.html
parent80f722b82cb92fa49ee172230be3c61f72e56f41 (diff)
additional by-otaker searches fixed for the brave new world of usernum, RT#9555
Diffstat (limited to 'httemplate/search/cust_pkg_discount.html')
-rw-r--r--httemplate/search/cust_pkg_discount.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/search/cust_pkg_discount.html b/httemplate/search/cust_pkg_discount.html
index 233345e1c..d70c3116f 100644
--- a/httemplate/search/cust_pkg_discount.html
+++ b/httemplate/search/cust_pkg_discount.html
@@ -78,9 +78,9 @@ if ( $cgi->param('status') eq 'active' ) {
"; #XXX also end date
}
-#otaker
-if ( $cgi->param('otaker') && $cgi->param('otaker') =~ /^([\w\.\-]+)$/ ) {
- push @where, "cust_pkg_discount.otaker = '$1'";
+#usernum
+if ( $cgi->param('usernum') =~ /^(\d+)$/ ) {
+ push @where, "cust_pkg_discount.usernum = $1";
}
#agent