summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_credit.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_credit.html
parent80f722b82cb92fa49ee172230be3c61f72e56f41 (diff)
additional by-otaker searches fixed for the brave new world of usernum, RT#9555
Diffstat (limited to 'httemplate/search/cust_credit.html')
-rwxr-xr-xhttemplate/search/cust_credit.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html
index 9a14dceca..ad8472134 100755
--- a/httemplate/search/cust_credit.html
+++ b/httemplate/search/cust_credit.html
@@ -56,8 +56,8 @@ my $title = 'Credit Search Results';
my @search = ();
-if ( $cgi->param('otaker') && $cgi->param('otaker') =~ /^([\w\.\-]+)$/ ) {
- push @search, "cust_credit.otaker = '$1'";
+if ( $cgi->param('usernum') =~ /^(\d+)$/ ) {
+ push @search, "cust_credit.usernum = $1";
}
if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) {