summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-06-07 19:28:24 -0700
committerMark Wells <mark@freeside.biz>2012-06-07 19:28:24 -0700
commita1eb54c2661dad29992603e78682d9be2d372625 (patch)
treed2d2fb524b1af4327524bcab775373127ac7b5ec /httemplate
parentec7a38be9f65ebfe5b950f552dc39beb7df1c8cb (diff)
fix quick payment entry when search returns exactly one row, #17972
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/customer-table.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html
index fc1af69c6..a1e9732fd 100644
--- a/httemplate/elements/customer-table.html
+++ b/httemplate/elements/customer-table.html
@@ -250,7 +250,7 @@ Example:
if ( customerArrayArray.length == 1 ) {
- update_customer(customerArrayArray[1]);
+ update_customer(searchrow, customerArrayArray[0]);
% if ( $opt{custnum_update_callback} ) {
<% $opt{custnum_update_callback} %>(searchrow, '<% $opt{prefix} %>')
% }