summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/cust_pay_or_refund.html
diff options
context:
space:
mode:
authorivan <ivan>2010-08-15 06:21:06 +0000
committerivan <ivan>2010-08-15 06:21:06 +0000
commit80f722b82cb92fa49ee172230be3c61f72e56f41 (patch)
tree46bffd0eb7dfb031269bd3ea2b9a08a92de2bec3 /httemplate/search/elements/cust_pay_or_refund.html
parent2806e1967f8dbb7b15c41dd7c5bcc2eb121907f0 (diff)
fix payment and refund searches by otaker (now usernum), RT#9555
Diffstat (limited to 'httemplate/search/elements/cust_pay_or_refund.html')
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html
index 4f83d0ab6..114f24549 100755
--- a/httemplate/search/elements/cust_pay_or_refund.html
+++ b/httemplate/search/elements/cust_pay_or_refund.html
@@ -245,8 +245,8 @@ if ( $cgi->param('magic') ) {
push @search, "$table.payinfo = '$1'";
}
- if ( $cgi->param('otaker') =~ /^(\w+)$/ ) {
- push @search, "$table.otaker = '$1'";
+ if ( $cgi->param('usernum') =~ /^(\d+)$/ ) {
+ push @search, "$table.usernum = $1";
}
#for cust_pay_pending... statusNOT=done