X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pkg_discount.html;fp=httemplate%2Fsearch%2Fcust_pkg_discount.html;h=d70c3116f54de2cf47f3f7ce8c38762e96480a64;hp=233345e1cd9b93a28eb44dbf376d5c0ccf586e17;hb=55476aa0484f5ebada5f36e1407722d84609bd34;hpb=80f722b82cb92fa49ee172230be3c61f72e56f41 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