X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_credit.html;fp=httemplate%2Fsearch%2Fcust_credit.html;h=ad84721347031794919e09dc571159678a54e4a3;hp=9a14dcecac3dbfb26736eeaeec789bddbf065b11;hb=55476aa0484f5ebada5f36e1407722d84609bd34;hpb=80f722b82cb92fa49ee172230be3c61f72e56f41 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+)$/ ) {